L
L
luzianin9992020-06-09 15:37:17
React
luzianin999, 2020-06-09 15:37:17

Can Redux be combined with local state?

Let's say I want to use Redux to store some todo items in it that will be used in different components of the application.
If I want to make some modal window that needs a state (open / closed), where is the best place to implement this state? It's too local for Redux, so is it possible to mix Redux and local state in components?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
abberati, 2020-06-09
@abberati

Not possible but necessary

R
Robur, 2020-06-09
@Robur

Yes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question