Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@availity/hooks

Availity1.2kMIT5.1.2TypeScript support: included

A group of pre-built hooks that are common in most apps

react, availity, hooks

readme

Availity React Component Library

React components using Availity UIKit and Bootstrap 4

Build Coverage License

Storybook

We have a Storybook instance where you can see the components in action.

Documentation

Check out our documentation site for more information on all Availity maintained repos.

Contributing

See our contributing guide on how to contribute to the repository.

License

MIT

changelog

Changelog

This file was generated using @jscutlery/semver.

5.1.2 (2024-10-16)

5.1.1 (2024-10-02)

5.1.0 (2024-10-01)

Features

  • hooks: add useUpdateNav (68d0f21)

5.0.3 (2024-08-22)

1.0.0 (2024-08-22)

Bug Fixes

  • eslint issues (bc4d8e9)
  • hooks: moved region fetching into useEffect, and adding trycatch to better handle errors (e3d8454)
  • hooks: remove effect from dependency array in useMount (a096fa4)
  • hooks: use optional chaining (ec54426)
  • removed npmrc and added config to lerna for now creating locks (efe82ab)
  • removed package-locks,added npmrc ignore,fixed react as hoisted dep (4648319)
  • upgrade yup and update sb stories (68aeafe)

Features

  • allow for options to be passed in (1d99a8b)
  • docs: updated to use yarn and added readmes (3b94748)
  • form: add currency input (fa9eea6)
  • hooks: add documentation to sidebar, some formatting (fbd9964)
  • hooks: add usePermissions, useOrganizations, useProviders hook (458f5e5)
  • hooks: add useWindowDimensionsHook (203d9c0)
  • hooks: added some common hooks to a new package (98663fd)
  • hooks: added storybook story for useCurrentUser (00277b7)
  • hooks: added useCurrentUser hook (8cab508)
  • hooks: added useTimout and useMount hooks, tests, and docs (e82c81e)
  • hooks: fixed the copy pasta (d82d5f9)
  • hooks: upgrade react query to v4 (9b7b266)
  • hooks: upgrade to react-query v2 (2da4115)
  • hooks: upgrade to react-query v3 (351aeff)
  • move storybook, stories, and fix hmr (2f65f71)
  • pagination: pagination components using hooks (590e5fd), closes #27 #64
  • update to use react-query (d762643)
  • upgrade deps (eccefc0)

BREAKING CHANGES

  • hooks: react query has been upgraded to v4. you must upgrade to @tanstack/react-query@^4.36.1 in order to use this package now
  • axios v1 is now required
  • hooks: react-query ^3.0.0 is now required
  • hooks: the return shapes have changed for most async hooks

5.0.2 (2024-04-23)

5.0.1 (2024-02-21)

5.0.0 (2023-10-16)

Features

  • hooks: upgrade react query to v4 (9b7b266)

BREAKING CHANGES

  • hooks: react query has been upgraded to v4. you must upgrade to @tanstack/react-query@^4.36.1 in order to use this package now

4.0.0 (2023-10-09)

Features

BREAKING CHANGES

  • axios v1 is now required

3.3.3 (2023-01-27)

3.3.2 (2023-01-11)

3.3.1 (2022-06-14)

3.3.0 (2022-06-14)

Features

  • form: add currency input (fa9eea6)

3.2.2 (2022-06-10)

3.2.1 (2022-05-24)

Bug Fixes

  • upgrade yup and update sb stories (68aeafe)

3.2.0 (2022-02-18)

Features

  • hooks: add documentation to sidebar, some formatting (fbd9964)
  • hooks: add useWindowDimensionsHook (203d9c0)

3.1.2 (2021-12-20)

Note: Version bump only for package @availity/hooks

3.1.1 (2021-12-14)

Note: Version bump only for package @availity/hooks

3.1.0 (2021-11-15)

Features

  • move storybook, stories, and fix hmr (2f65f71)

3.0.6 (2021-10-28)

Note: Version bump only for package @availity/hooks

3.0.5 (2021-10-28)

Note: Version bump only for package @availity/hooks

3.0.4 (2021-10-01)

Note: Version bump only for package @availity/hooks

3.0.3 (2021-09-28)

Note: Version bump only for package @availity/hooks

3.0.2 (2021-06-01)

Note: Version bump only for package @availity/hooks

3.0.1 (2021-01-06)

Bug Fixes

  • hooks: remove effect from dependency array in useMount (a096fa4)

3.0.0 (2020-12-23)

Features

  • hooks: upgrade to react-query v3 (351aeff)

BREAKING CHANGES

  • hooks: react-query ^3.0.0 is now required

2.0.1 (2020-11-17)

Note: Version bump only for package @availity/hooks

2.0.0 (2020-10-30)

Bug Fixes

  • hooks: use optional chaining (ec54426)

Features

  • hooks: upgrade to react-query v2 (2da4115)

BREAKING CHANGES

  • hooks: the return shapes have changed for most async hooks

1.8.0 (2020-07-08)

Features

  • allow for options to be passed in (1d99a8b)
  • update to use react-query (d762643)

1.7.0 (2020-06-12)

Features

  • hooks: add usePermissions, useOrganizations, useProviders hook (458f5e5)

1.6.23 (2020-04-30)

Note: Version bump only for package @availity/hooks

1.6.22 (2020-04-30)

Note: Version bump only for package @availity/hooks

1.6.21 (2020-04-28)

Note: Version bump only for package @availity/hooks

1.6.20 (2020-04-17)

Note: Version bump only for package @availity/hooks

1.6.19 (2020-04-09)

Note: Version bump only for package @availity/hooks

1.6.18 (2020-04-08)

Note: Version bump only for package @availity/hooks

1.6.17 (2020-04-08)

Note: Version bump only for package @availity/hooks

1.6.16 (2020-04-07)

Note: Version bump only for package @availity/hooks

1.6.15 (2020-04-07)

Note: Version bump only for package @availity/hooks

1.6.14 (2020-04-06)

Note: Version bump only for package @availity/hooks

1.6.13 (2020-04-06)

Note: Version bump only for package @availity/hooks

1.6.12 (2020-04-06)

Note: Version bump only for package @availity/hooks

1.6.11 (2020-04-06)

Note: Version bump only for package @availity/hooks

1.6.10 (2020-04-03)

Note: Version bump only for package @availity/hooks

1.6.9 (2020-04-03)

Note: Version bump only for package @availity/hooks

1.6.8 (2020-04-02)

Note: Version bump only for package @availity/hooks

1.6.7 (2020-04-02)

Note: Version bump only for package @availity/hooks

1.6.6 (2020-02-11)

Note: Version bump only for package @availity/hooks

1.6.5 (2020-02-10)

Note: Version bump only for package @availity/hooks

1.6.4 (2019-10-24)

Note: Version bump only for package @availity/hooks

1.6.3 (2019-10-11)

Bug Fixes

1.6.2 (2019-09-26)

Bug Fixes

  • hooks: moved region fetching into useEffect, and adding trycatch to better handle errors (e3d8454)

1.6.1 (2019-09-25)

Note: Version bump only for package @availity/hooks

1.6.0 (2019-09-04)

Features

  • docs: updated to use yarn and added readmes (3b94748)

1.5.2 (2019-08-19)

Note: Version bump only for package @availity/hooks

1.5.1 (2019-08-13)

Note: Version bump only for package @availity/hooks

1.5.0 (2019-08-11)

Features

  • hooks: added storybook story for useCurrentUser (00277b7)
  • hooks: added useCurrentUser hook (8cab508)
  • hooks: fixed the copy pasta (d82d5f9)

1.4.0 (2019-07-23)

Features

  • hooks: added useTimout and useMount hooks, tests, and docs (e82c81e)

1.3.3 (2019-06-24)

Note: Version bump only for package @availity/hooks

1.3.2 (2019-06-03)

Note: Version bump only for package @availity/hooks

1.3.1 (2019-05-29)

Note: Version bump only for package @availity/hooks

1.3.0 (2019-03-04)

Features

  • pagination: pagination components using hooks (590e5fd), closes #27 #64

1.2.0 (2019-03-04)

Features

  • pagination: pagination components using hooks (590e5fd), closes #27 #64

1.1.1 (2019-02-25)

Bug Fixes

  • removed npmrc and added config to lerna for now creating locks (efe82ab)
  • removed package-locks,added npmrc ignore,fixed react as hoisted dep (4648319)

1.1.0 (2019-02-21)

Features

  • hooks: added some common hooks to a new package (98663fd)