Upgrade to Pro — share decks privately, control downloads, hide ads and more …

State management in React using Context and Hooks APIs

r31gN_
March 06, 2019

State management in React using Context and Hooks APIs

Redux is one of the most popular approaches to state management in React applications. However, it comes with a decent amount of boilerplate plus it often ends up being used everywhere, no matter the context or app size. This talk explores a bare-bones alternative approach to state management that is suitable for small/medium apps as well as define the pros and cons when compared to Redux.

r31gN_

March 06, 2019
Tweet

More Decks by r31gN_

Other Decks in Technology

Transcript

  1. State Management
    For React
    (using Context and Hooks APIs)
    Vlad Zelinschi
    QCon London, 2019

    View full-size slide

  2. Redux anyone?
    @r31gN_ Strongbytes

    View full-size slide


  3. @r31gN_ Strongbytes

    View full-size slide


  4. @r31gN_ Strongbytes

    View full-size slide

  5. Can we build some percentage
    of Redux with just React?
    @r31gN_ Strongbytes

    View full-size slide

  6. Context & Hooks APIs
    @r31gN_ Strongbytes

    View full-size slide

  7. ! Coding time !
    @r31gN_ Strongbytes

    View full-size slide

  8. simpply was born
    @r31gN_ Strongbytes

    View full-size slide

  9. simpply in action
    @r31gN_ Strongbytes

    View full-size slide

  10. simpply’s strong points
    @r31gN_ Strongbytes

    View full-size slide

  11. simpply’s weak points
    @r31gN_ Strongbytes

    View full-size slide

  12. Keep on smiling because you are
    the most beautiful people
    when you do.
    @r31gN_ Strongbytes

    View full-size slide

  13. Thank you!
    @r31gN_

    View full-size slide