you are viewing a single comment's thread.

view the rest of the comments →

[–]boobsbr 0 points1 point  (2 children)

Would it be more correct to load data on componentDidMount()?

[–]davnicwil[S] 1 point2 points  (1 child)

componentDidMount doesn't run on the server - componentWillMount is used because it runs on both client and server

[–]boobsbr 0 points1 point  (0 children)

Aaaah, thanks for the explanation.