Answer the question
In order to leave comments, you need to log in
How to correctly change the state of a react+redux component?
Hello.
Code: https://github.com/kozlikov/test
PS The project is very small.
The trouble is that when you click on the button
<button onClick={() => actions.add(Math.random())}>
{todo.value}
</button>;
test/src/components/Todo.jsx
button does not change in the component. Answer the question
In order to leave comments, you need to log in
https://github.com/kozlikov/test/blob/master/src/s...
Redux-logger not connected correctly. Read documentation
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question