Answer the question
In order to leave comments, you need to log in
What should not be stored in the redux store?
There is a form of live search.
Is it worth storing her data in the redux store + all actions, reducers for her or not?
There is also a Dialog window that has a state of isOpened: true / false (is the popup / dialog open)
What data should be run through redux and what not?
For example, it is obvious that you don’t need to store the state of a regular form in the store and run everything through redux, you can use its state directly.
Where is the line when "this is what we store in the store", and "this is what we use the local state"?
Answer the question
In order to leave comments, you need to log in
If the data is used only by the component and only for the duration of its life cycle, then the state, in other cases, the storage, as the name implies, we put there what needs to be stored.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question