wr
hn
Top
New
Best
Ask
Show
Jobs
Back
p
pergomes
Joined 10 years ago
Karma
88
Submissions
3
Member since
Feb 16
View on Hacker News
Recent submissions
Django React/Redux Base Project
g
github.com
175
pergomes
10 years ago
75
comments
Comment · 10 years ago
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.