HNHacker News
TopNewBestAskShowJobs

pergomes

88 karma · joined February 16, 2016

submissionscomments
pergomes··on Django React Redux JWT Base Project
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.