Ask HN: What has been the evolution around best practices for React development?
I did some development in React more than 6 years ago. Now I am going to take over React again and I am lost looking at what happened in the meantime. Is there any source where I can find the history of its evolution and in particular what are the current best practices ?
3 comments
[ 2.2 ms ] story [ 37.2 ms ] thread- https://frontendmastery.com/posts/the-evolution-of-react-pat...
- https://frontendmastery.com/posts/rethinking-react-best-prac...
- https://frontendmastery.com/posts/the-new-wave-of-react-stat...
(Not the author, but read them and I enjoy the content).
I'd also recommend going through the new React docs site for a refresher:
- https://react.dev
and reviewing a couple of the articles I've done around how React works:
- https://blog.isquaredsoftware.com/2020/05/blogged-answers-a-...
- https://blog.isquaredsoftware.com/2021/01/context-redux-diff...
I also did a post + talk a couple years ago on the migration from HOCs to hooks:
- https://blog.isquaredsoftware.com/2019/07/blogged-answers-th...
- https://blog.isquaredsoftware.com/2019/09/presentation-hooks...
React docs: Should I use Hooks, classes, or a mix of both? When you’re ready, we’d encourage you to start trying Hooks in new components you write. https://legacy.reactjs.org/docs/hooks-faq.html#should-i-use-...
The current docs site at https://react.dev teaches only hooks + function components as the standard approach.