-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
258 additions
and
439 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
build/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"trailingComma": "all", | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"semi": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Architecture | ||
|
||
## Challenges | ||
|
||
- fork atom with state scopes is not scoping dependent actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,8 @@ | ||
## 1.0.0-rc10 | ||
# Changelog | ||
|
||
Add `getIsAction` and `getIsAtom` to public API | ||
## v2* | ||
|
||
## 1.0.0-rc6 | ||
|
||
Rewrite core, remove domains as unnecessary (now). | ||
|
||
## 1.0.0 | ||
|
||
`flaxom` -> `reatom` | ||
|
||
`createAction` -> `declareAction` | ||
|
||
`createAtom` -> `declareAtom` | ||
|
||
## 4.0.0 | ||
|
||
Core improvements and bugs fixes... | ||
|
||
(!) Move to **Reatom** package (!) | ||
|
||
## 3.0.10 | ||
|
||
Improve API naming | ||
|
||
> `createReducer` -> `createAtom` | ||
## 3.0.9 | ||
|
||
Add warning for production | ||
|
||
## 3.0.8 | ||
|
||
Update readme | ||
|
||
## 3.0.0 - 3.0.7 | ||
|
||
Improve edge-cases for [store] lazy reducers | ||
|
||
## 3.0.0 | ||
|
||
New API for best static type inference | ||
|
||
```js | ||
createReducer( | ||
'name', | ||
initialState, | ||
handle => [ | ||
handle(action, (state, payload) => ...) | ||
handle(reducer1, (state, reducer1State) => ...) | ||
], | ||
) | ||
``` | ||
|
||
## 2.0.0 | ||
|
||
`redux-steroid` -> `flaxom` | ||
|
||
## 1.7.0 | ||
|
||
- Improve `store.getState()` API (getState without arguments now equal `getStateInternal`) | ||
- Add `asId` API for strict declaration of ActionTypes and Ids (useful for snapshots) | ||
- Add middleware to store | ||
|
||
## 1.6.0 | ||
|
||
- Add lazy reducers to createStore | ||
|
||
## 1.5.0 | ||
|
||
- Rewrite core - improve bundle size and performance | ||
|
||
## 1.4.0 | ||
|
||
- Add `createStore` - a half compatible **redux**-like API | ||
- Atoms state is no longer autocleaning after dependent subscriptions clear. | ||
> It use `WeakMap` so it is safe to memory leaks and more predictable (intuitive) | ||
- Atoms may receive actions ever they have no any dependent subscriptions, if action includes link to atom/s in `target` field. | ||
> It used in atoms "methods" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.