Sunday, April 19, 2020

React.StrictMode

What is React.StrictMode for?


That cause my AppReducer run twice.

As github useReducer dispatch calls reduce twice #16295, I removed it.

Then my problem solved.

No comments: