DEV Community

Discussion on: High level view and logic separation in React

Collapse
 
cyberhck profile image
Nishchal Gautam

Personally, I put data in redux, business logic in saga, and my UI is a function of store values,

you give me my store, I'll give you exactly what the user is seeing,

which means I can do playbacks on bug reports, and do time travel debugging, track how the data is flowing etc.