Some best practice for beginner react developer

1. Build small components and function-specific

2. Make your component reusable

3. DRY-Don’t repeat yourself

4. CSS in JavaScript

5. Name the component after its functionality

6. Use necessary comments

7. Use capitals for naming components

11. All files related to any component should be in a single folder

8. Use snippet libraries

9. File naming conventions

10. Write tests for all code



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tanvir Ahmed

Tanvir Ahmed

A web developer with a strong interest in projects that require both conceptual and analytical thinking. I'm always eager to learn from anyone and everyone.