Visual Intro to Custom React Hooks

Visual Intro to Custom React Hooks

Lightning talk @ Reactadelphia July 2019!


Inky Collective

July 16, 2019


  1. 4.

    Let’s talk hooks. “They let you use state and other

    React features without writing a class.” —Dan Abramov
  2. 6.

    Where can custom hooks be used? “where is stateful logic

    involved?” “can this logic be reused?”
  3. 9.

    Let’s make a hook! psst… they’re just functions! • it

    has to start with `use` • you can use other hooks in them • notably, useState() and
 other custom hooks!