Use PascalCase
Use camelCase
Use comments to explain the "why" and not the "what".
Use JSDoc to document classes and functions if they return a value
Use Indent using Tabs
with a tab size of 4
. if you do not have Prettier installer already, install it now. Installing Prettier ensures that the code remains consistent.
Place your code in "src" and images, svg and other files in "public".
Strive for DRY (Don't Repeat Yourself) principles by abstracting reusable code into classes, functions or variables.