Collection
Post cover

React Style Guides

A collection of hand-picked React style guides.

Post cover

Airbnb React/JSX Style Guide

Link: https://github.com/airbnb/...

A mostly reasonable approach to React and JSX. This style guide is mostly based on the standards that are currently prevalent in JavaScript, although some conventions (i.e async/await or static class fields) may still be included or prohibited on a case-by-case basis. Currently, anything prior to stage 3 is not included nor recommended in this guide.

Post cover

React Code Style Guide

Link: https://css-tricks.com/...

I've been having the time of my life with React lately. But on my journey, I’ve had a hard time finding good code style guidelines to keep the mix of JSX and JS clean and readable. I've been coming up with my own style guides that I'd love to share.

Post cover

React / Redux Style Guide

Link: https://github.com/ghengeveld/...

This is an opinionated style guide for developing applications in ES6+ with React and/or Redux. These styles are based on current best practices in the React and Redux communities, as well as real life experience with these tools in the field. It puts great focus on writing readable and maintainable code and using new JavaScript features in a responsible manner.

Post cover

React Style Guide

Link: https://github.com/Khan/...

Follow the normal JavaScript style guide - including the 80 character line limit. In addition, there are several React-specific rules.

Post cover

React Code Style Guide

Link: https://github.com/pagarme/...

This is meant to be a guide to help new developers understand the React code style and best practices we adopt here at Pagar.me.

Did you like the post? Share it with your friends!

Follow us on social networks

Feedback