4 ms·
If there’s some specific use case we’re missing in the blog post please let us know! `componentWillMount` is technically equivalent to the constructor so there
by danabramov 9y ago
If there’s some specific use case we’re missing in the blog post please let us know!
`componentWillMount` is technically equivalent to the constructor so there's nothing you could do on the server you couldn't do in the constructor instead.
https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#other-scenarios https://reactjs.org/blog/2018/03/27/update-on-async-renderin...
- k__ 9y agoI know, but I often avoid meddling with constructors. Passing the right stuff to super etc.