Re:Ask HN: What is your favorite front end state management ...
by mikojan on Wednesday December 28, 2022 @12:53PM
(#34163691)
These "misunderstandings about context" are not specific to context. React developers will have to learn about them whether they are using context or not.
> Can you point to some examples of the "useless nesting" and "weird constructs" you're referring to?
Example: Create a slice with a list of items as initial state and truncate it in a reducer.
> Can you point to some examples of the "useless nesting" and "weird constructs" you're referring to?
Example: Create a slice with a list of items as initial state and truncate it in a reducer.