5 reasons I prefer React function components over class components: 1
5 reasons I prefer React function components over class components:
1. Less code
2. Simpler mental model
3. Avoids "this" keyword confusion
4. Share and group related logic via Hooks
5. Functions are (likely) the future of React
#reactjs
