Installation
Reuse the code from the previous exercise. Make sure to complete it before attempting this one.
Instructions
- Complete all the user requirements below
- Cover each user requirement by end-to-end test (tag each test by “@components”)
- If necessary, cover utility code and component code by unit tests
- Commit and push the code
- Make sure all tests pass
- Commit and push your code to your repository
User Requirements
- If the post has no image associated, get a random image from either:
- Cat API
- Dog API
- As a user, I want to be able to hide a post in the list
- As a user, I want to be able to unhide all posts
- As a user, I want to keep all hidden posts invisible when reloading the page
When using local storage, you will receive a hydration error, how would you solve this?