logo

Standards

Components are PascalCased

Use React Plugin for ESLint

useState only for dynamic data.

React : Best practices
Use TypeScript or PropTypes

PropTypes or TypeScript allow you to validate data. This can help you catch errors early and make your code more maintainable. On large Projects defiantly consider TypeScript as it is the complete package. However it will take longer to get going.

Please Login or Register to comment