Answer the question
In order to leave comments, you need to log in
Storing (for layout) application state data in Redux. Is it adequate?
Does it make sense to store the state of many windows in redux? (open/closed)
Specifically, I would like to store whether the mobile version of the application is open or not (depending on window.innerWidth, for example)
Answer the question
In order to leave comments, you need to log in
If something is easier to do without redux, don't pull it there. This applies to everything: forms, modals, filters and more.
It is better to determine the version by the user agent, and pass this data through the context.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question