You have the already implemented
Dynamic list of posts
and the Counter
example of Redux Toolkit usage.
Here is the working DEMO
Learn the implemented App and the example and reimplement it with Redux having the next slice:
users
and removeUsersContext
;author
that is currently in theApp
;posts
having 3 propsloaded
,hasError
anditems
;selectedPost
;comments
withloaded
,hasError
anditems
props (keep thevisible
in thePostDetails
);NewCommentForm
should keep its state.
- Implement a solution following the React task guideline.
- Use the React TypeScript cheat sheet.
- This task does not have tests yet!
- Replace
<your_account>
with your Github username in the DEMO LINK and add it to the PR description.