React Round Up
RRU 011: Simple React Patterns with Lucas Reis
Panel:
Charles Max Wood
Cory House
Special Guests: Lucas Reis
In this episode of React Round Up, the panel discusses simple React patterns with Lucas Reis. Lucas works as a senior front-end developer at Zocdoc and previously worked in Brazil for an ecommerce company called B2W. He recently wrote a blog post about simple React patterns that really took off and became popular on the web. They talk about this blog post, what defines a successful pattern, and then they discuss the different patterns that he has discovered in his years of React programming.
In particular, we dive pretty deep on:
Lucas intro
Tries to write blog posts as much as possible
Simple React Patterns blog post
React
What does he mean by “successful” patterns?
Three things that define good patterns
Define successful?
The mix component
The Container/Branch/View pattern
First successful pattern he has found
Separation of concerns
Common concern: are we worried about mixing concerns?
If/else
Can you encapsulate in the view?
Pattern matching
React loadable
You need to think of 3 states at least
Higher-order component
Render props
And much, much more!
Links:
Zocdoc
B2W
Simple React Patterns blog post
React
Simple Made Easy by Rich Hickey
Lucas’s GitHub
Lucas’s Blog
@iamlucasreis
Picks:
Charles
FullContact
Udemy
Cory
Fluent conf
Immer
Lucas
Percy
Be studying the languages and be inspired!