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

1)Where do you make your api calls in componentDidMount or componentWillMount ?

2)Are you using Redux to manage all of your state? Is it getting too verbose?



componentDidMount is the right place to call for an API. if you are interested in server-side rendering would recommend this post https://blog.tableflip.io/server-side-rendering-with-react-a...

yes we use redux and strongly follows its design pattern.


Thanks for that link.

Have you guys looked into MobX?




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: