Skip to content

HearTao/ts-react-hooks-tools

Repository files navigation

ts-react-hooks-tools

A toolkit that provides a series of refactoring tools for React hooks. Build with ❤️.

Install

Motivation

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

Usages

Summary