learner-materials-api-calls-and-hooks-in-react

Activity 6 - Extension exercise

Showing the favourites

🤔 Did you spot that Show Favourites button? Give it a click. Notice it doesn’t do anything at the moment?

🦸‍♂️ Your challenge is to implement the user story below

As a user I want to be able to toggle between seeing my favourite disney characters and the entire list.

Acceptance criteria

Hints and tips

đź’ˇ It might be worth attempting in a TDD manner with React Testing Library

💡 Currently when you add a favourite it only includes the character ID. Maybe you’ll need to change that approach.

đź’ˇ You might need to change the remove from favourites function if you do change the way the favourites are tracked in state.