React

Making things a little easier for yourself

 

Atomicity/granularity

Atomicity/Granularity

Why go atomic or granular?

  • Sanity and efficiency
  • Reusability
  • Better composition
  • Easier unit testing

Compound components

  • Keep logic separated from UI
    • Dumb vs smart
  • Design pattern (CC)
  • HOC
  • Render props
Made with Slides.com