Don’t Get Distracted by Imaginary Problems

Linter is your friend. With a good config, a linter is a great tool to catch bugs before they happen.

Marie Kondo Your Lint Config

But what about formatting? Use Prettier

Writing Resilient Components

Principle 1: Don’t stop the data flow

Principle 2: Always be ready for render

Principle 3: No Component Is a Singleton

Principle 4: Keep the Local State Isolated