iTwin / react-hooks

common, generic, useful react hooks for general high-level react development
MIT License
5 stars 0 forks source link

@bentley/react-hooks

Build Status

Generic React hooks for daily development.

Hooks

Tips

To get eslint-plugin-react-hooks to warn on bad dependencies for hooks like useAsyncEffect, see the eslint rule's advanced configuration docs. Older versions of eslint-plugin-react-hooks may warn on passing an async argument, we have a PR in react's monorepo to fix that eslint rule, and we can maintain a trivial fork if this is a common issue, because not warning on missed effects almost always leads to bug.