How to change the state of a react component+redux?

Hello.

Code: https://github.com/kozlikov/test
PS project is very small.

The trouble is that when pressing on the button
<button onclick="{()" => actions.add(Math.random())}>
{todo.value}
 </button>;

in the component test/src/components/Todo.jsx does not change the state of the button component.
PS action is triggered and the application no errors are issued.

Specify, please, what am I missing?

Thank you!
July 9th 19 at 10:55
1 answer
July 9th 19 at 10:57
Solution
https://github.com/kozlikov/test/blob/master/src/s...
Not connected properly redux-logger. Read the documentation
Thank you.
Specify, please, and why no error is reported in console? - Bret.Littel commented on July 9th 19 at 11:00
I don't know. JS is an untyped language and the effect just failed to reach reducer-s and was lost somewhere - annie_Pagac commented on July 9th 19 at 11:03
: Okay, thank you. - Bret.Littel commented on July 9th 19 at 11:06

Find more questions by tags ReactJavaScriptRedux