DEV Community

Discussion on: React Clean Code - Simple ways to write better and cleaner code

gene profile image
  • Lint your code. It helps make code cleaner as well.

Thanks for this!

thawkin3 profile image
Tyler Hawkins Author

You're welcome! Absolutely, linters and auto-formatters are a must. Every project I work on includes ESLint and Prettier, and if it's not already there in a repo I inherit, that's one of the first things I add!