ts-react-hooks-tools

A tools who provide a series of refactors about react hooks.

Install

Motivation

  • Wrap expression into React.useMemo()
  • Wrap function like into React.useCallback()
  • Detect dependencies and constants automatic.

Usages

summary

GitHub