TheCombine icon indicating copy to clipboard operation
TheCombine copied to clipboard

Replace redux in Character Inventory goal

Open jmgrady opened this issue 2 years ago • 0 comments

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

jmgrady avatar Nov 08 '23 14:11 jmgrady