redux
redux copied to clipboard
[tutorial] Reactions update is broken in <SinglePostPage />
Steps To Reproduce
- Click "View Post" for any post
- Click the reactions
Link to code example: The codesandbox here
The current behavior
Reactions work for the post list page, not for the single post page.
The expected behavior
- Reactions work for single post page
- Reactions sync in both list list page and single post page.
@markerikson How I can update the codesandbox example?
@dannielss It's... kinda complicated :)
All the sandboxes live in https://github.com/reduxjs/redux-essentials-example-app . Specifically, it's the tutorial-steps branch, with tags applied to specific commits.
To update the sandboxes, you'd actually have to:
- Clone the repo
- Check out the
tutorial-stepsbranch - Reset the branch all the way to the last commit that added/changed these lines
- Alter the commit
- Cherry-pick all commits after that
- Change all tags to point to the new commits in the branch
- Force-push it
So, unfortunately not easy, and not something other folks can do atm either
I started learning redux using docs but unfortunately sandbox examples are broken
@MubashirWaheed : what parts of the sandboxes are broken, specifically?
Code sandbox for the "basic redux dataflow" under the redux essential is not working on firefox but I just checked and it is working fine chrome