React Hooks

The React snippet collection contains function components and reusable hooks for React 16.

  • usePrevious

    React, Hooks

    Stores the previous state or props.

  • useToggler

    React, Hooks

    Provides a boolean state variable that can be toggled between its two states.