javascript - react itself, setState and reducer in redux are used in the project at the same time
ringa_lee
ringa_lee 2017-06-12 09:26:45
0
1
625

Currently working on a react project,
1 Some states need to be managed in redux and updated through the reducer;
2 Some states may need to be stored directly in the state of the component and changed through setState Component status
How does this way of writing code work in react? Are there any related projects for reference?

ringa_lee
ringa_lee

ringa_lee

reply all(1)
仅有的幸福

The react-starter-kit our company is using

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template