TheCombine
TheCombine copied to clipboard
Replace redux in Character Inventory goal
Redux is used in the character inventory goal to maintain the current list of valid and rejected characters, the word list, etc. All of the state information is cleared when the component is unmounted. This suggests that useState or useContext would be a better choice:
- the information is not shared across the application
- it would allow clearer manipulation of the data in the Character Inventory goal component