RRU 011: Simple React Patterns with Lucas Reis

    0
    668

    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:

    Picks:

    Charles

    Cory

    Lucas

    • Percy
    • Be studying the languages and be inspired!