3 ms·
I believe it's in the blog post: https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#fetching-external-data-when-props-change https://reactjs.or
by danabramov 9y ago
I believe it's in the blog post:
https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#fetching-external-data-when-props-change https://reactjs.org/blog/2018/03/27/update-on-async-renderin...
(TLDR: Use `componentDidUpdate` for this.)
Have you had a chance to skim through it?
- myth_drannon 9y agoYes, I also saw your post on twitter. I will try to use it from now on. Thanks!