TLDRReact Native is a React-based app that lets you build apps with React Native. Here are 5 good practices to keep in mind when working with React. Remember to keep your components small and function-specific. Consider using the DRY principle when creating methods. Write tests for your components. Use React PropTypes or TypeType to check for bugs.
Table of contents
What's up, everyone!? 🤙#1 Remember to keep your components small and function-specific#2 Consider using (or not 🤔 ) DRY principle when creating methods#3 In most cases try to use controlled components instead of uncontrolled ones.#4 Write tests for your components#5 Use React PropTypes or TypeScript1 Comment
Sort: