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

--

--

--

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.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Second migration to Habshah took place in ?

How to: Build a Modal Class in Vanilla JavaScript using Object Orientation

Fantastic Web Elements and how to find them — a guide to locate web elements for testing and web…

Found API Token on js file

Symfony and webpack for live reloading PHP applications

Higher Display Resolution Available

Demystifying Flexbox in React Native

Prototypes in JavaScript!

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.

More from Medium

Bootcamp Week 5: Reacting to react ❤

5 reasons to learn Javascript

My Journey so far as a Full-Stack Developer at Microverse.

A macbook opened to visual studio code, with a CSS code snippet

What I need to be a React developer?