Better HN
topnewbestaskshowjobs
Log inSign up

pergomes

88 karma · joined Feb 16, 2016 (10y ago) · 3 submissions

Submissions

1.

Django React/Redux Base Project(github.com ↗)

175 points · by pergomes · 10y ago · 75 comments

comment 10y ago · link · parent

I understand your thoughts and normally we follow the React docs suggestions for generic components. We place data fetching code in componentWillMount in those cases we want to win some time, but if it's not the case I would recommend to place it in componentDidMount as React docs suggests.