|
|
|
|
|
by anchpop
1644 days ago
|
|
> Therefore you would put everything you could into the Redux store, which is a bad idea -- you usually don't need form state in there, for example. Why's that? IME it is usually simplest to just put everything in redux. For example, if you have a form under some kind of tab navigation thing, you'd ideally want the form state to be preserved even when they tab out and then back in. Putting it in redux means you don't really have to think about it |
|
You'd still preserve on tab change just as easily, while using just reacts mental model.