-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(store): add docs about state operators #799
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to add a link to this new page. :)
Edit: And maybe add links to Mark's medium post and the main issue.
@markwhitfeld @deebloo gentlemen |
@markwhitfeld @eranshmil @splincode updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just add the example back as discussed in the comments.
Edit: And add the link in the docs menu.
@eranshmil Sure, I've just missunderstood, should I replace const state = ctx.getState();
ctx.setState(state => ({
...state,
monkeys: []
})); |
|
Please also add a link to this page as the first item under the advanced menu section. You can label it "State Operators". |
Sorry for the delay. It's been a busy few days. |
PR Checklist
PR Type
What is the current behavior?
#786
Does this PR introduce a breaking change?