ContentDetailed description of the section content.

Installation

Reuse the code from the previous exercise. Make sure to complete it before attempting this one.

Instructions

  1. Complete all the user requirements below
  2. Cover each user requirement by end-to-end test (tag each test by “@components”)
  3. If necessary, cover utility code and component code by unit tests
  4. Commit and push the code
  5. Make sure all tests pass
  6. Commit and push your code to your repository

User Requirements

  1. If the post has no image associated, get a random image from either:
    1. Cat API
    2. Dog API
  2. As a user, I want to be able to hide a post in the list
  3. As a user, I want to be able to unhide all posts
  4. 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?