Answer the question
In order to leave comments, you need to log in
How does using Redux work with state?
For example, use Redux, but, for example, handle form input via setState , will there be a conflict?
After dispatch is re-rendered, how does it "collaborate" with state calls ?
For example there is:
<div>
<h4><span>Часов: </span><span id="hours"><span></h4>
<span>Минут: </span><span id="minuts"><span>
</div>
Answer the question
In order to leave comments, you need to log in
In your example, there is no main thing - how do you draw the minutes/hours? Through state or through props? Redux doesn't care if you use state or not, React Component doesn't care if you use redux or not.
You can update the state based on props received using Redux in componentWillReceiveProps
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question