- What are the similarities between context, redux, and local state?
- What is the difference between an action and an action creator in Redux?
- In your own words, what problem does context and Redux aim to solve?
- Please fill out the following table.
Tool | When should we use this over the others? |
---|---|
Context | |
Redux | |
Local state |
.5 Which of these should you prefer to use the most and why? Please give more than a one sentence answer.
->context api is for static data(that changes less frequently)
->Local storage - was introduced to store strings size upto 10MB and is mainly used to store cache files, site data etc
Team: Rokaya, Danah, Nanor, Riham