JSPM

  • Created
  • Published
  • Downloads 2636
  • Score
    100M100P100Q112052F
  • License MIT

A collection of powerful react hooks

Package Exports

  • powerhooks
  • powerhooks/useClickAway
  • powerhooks/useConstCallback
  • powerhooks/useEffectOnValueChange
  • powerhooks/useGlobalState
  • powerhooks/useGuaranteedMemo
  • powerhooks/useNamedState
  • powerhooks/useWindowInnerSize

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (powerhooks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme



Home - Documentation

Development

Start the test SPA

npx tsc -w
yarn start

TODO:

https://github.com/testing-library/react-hooks-testing-library

https://github.com/InseeFrLab/onyxia-ui/tree/structure_rework/src/app/tools/hooks

https://github.com/facebook/react/blob/9198a5cec0936a21a5ba194a22fcbac03eba5d1d/packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js