React Best Practices - RRU 233
In this week’s episode of React Round Up the panel works their way through a blog post outlining best practices for React. The first is “keeping components small and function-specific”. The panel discusses the pros of using this best practice and how it relates to the single responsibility principle. This best practice also helps with the next, “reusability is important”.
Show Notes
In this week’s episode of React Round Up the panel works their way through a blog post outlining best practices for React. The first is “keeping components small and function-specific”. The panel discusses the pros of using this best practice and how it relates to the single responsibility principle. This best practice also helps with the next, “reusability is important”.
The panel considers this second best practice and points out some of its flaws. It recommends avoiding the creation of new components. The panel explains that by avoiding creating new components it saves time but can also cause problems as you adapt components to fit more projects.
Sponsors
Links
- https://teachablemachine.withgoogle.com/
- Practical React Hooks: How to refactor your app to use Hooks
- 12 React Best Practices You Need to Follow in 2020
- https://github.com/nadeesha/saul
- https://www.facebook.com/React-Round-Up
- https://twitter.com/reactroundup
Picks
- Charles - White Christmas
- Charles - Holiday Inn
- Charles - The MaxCoders Guide To Finding Your Dream Developer Job
- Christopher - https://github.com/microsoft/vscode-eslint
- Christopher - https://www.playingwithfire.co/
- Thomas - test && commit || revert
React Best Practices - RRU 233
0:00
Playback Speed: