Best Practices with React

Creating Components

Stateless Functional Component

Regular Component

Pure Component

What's the different?

When should I use them?

What's the best one?

Event Binding

bind

class arrow functions

inline functions

curry functions

What's the different?

When should I use them?

What's the best one?

Single Responsibility

taking advantages of export and import and Pure Functions

Best Practices React

By Samuel Silva

Best Practices React

  • 86