Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, absolutely. Don't use useEffect as an async framework, use thunks or sagas.

Remove most logic from the components into sagas,thunks and selectors.

That way your components will be smaller, more testable, easier to change, easier to reason about.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: