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

Fetching data directly in components is bad advice and leads to a program with cluttered data access becoming more and more unmaintainable as the app grows. You need to encapsulate fetching and storage in redux or a similar state management solution.


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

Search: