reducer
Here are 323 public repositories matching this topic...
Since a lot of the categories have many libraries listed, it would be helpful to highlight the top 2-4 "must use" libraries in each category, if appropriate.
I should figure out how to format this, and which ones I want to highlight.
what is prefer way to add relation and remove relation? I found example as below, but I did't find any document about the two methods.
case 'ADD_AUTHOR_TO_BOOK':
Book.withId(action.payload.bookId).authors.add(action.payload.author); // add new entity , add relation? this doesn't work.
break;
case 'REMOVE_AUTHOR_FROM_BOOK':
Book.withId(action.payload.bo
Please add more examples, because there is now example on how we can test a component that has been wrapped in the DynamicModuleLoader ?
-
Updated
Nov 8, 2017 - TypeScript
Real world example?
Maybe take one from redux-sagas, would help people choose between the two.
I do like the concept of a more "lightweight" alternative.
Example Apps
This should fail because otherNum is not part of the State interface:
interface State {
num: number
}
export const initialState: State = {
num: 0
};
export const appsReducer = createReducer(initialState, handleAction => [
handleAction(actions.getApps.success, () => ({
num: 0,
otherNum: 0 // adding this property should trigger a warning
})),
]);Also for iPad.
We wish to improve the documentation. Any help is welcome!
-
Updated
Nov 2, 2019 - JavaScript
-
Updated
Nov 17, 2018 - JavaScript
-
Updated
Feb 21, 2018 - JavaScript
-
Updated
Jul 18, 2018 - JavaScript
-
Updated
Jun 6, 2020 - JavaScript
-
Updated
May 21, 2020 - Kotlin
-
Updated
Jun 14, 2020 - JavaScript
-
Updated
Jun 6, 2020 - TypeScript
-
Updated
Jun 10, 2020 - TypeScript
-
Updated
Apr 17, 2019 - JavaScript
-
Updated
Jun 3, 2020 - PLpgSQL
-
Updated
Mar 13, 2017 - JavaScript
Improve this page
Add a description, image, and links to the reducer topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the reducer topic, visit your repo's landing page and select "manage topics."
Inverse patches saved after changing Date object result in null value when applied.
Not sure if it's a bug or I'm missing something. I found this in the docs, but I'm not mutating Date object.
Link to repro
https://codesandbox.io/s/immer-sandbox-bnqgf
To Reproduce
Reproduction available i