Skip to content

Releases: adamdickinson/react-service

v2.0.0

20 Jul 10:20

Choose a tag to compare

2.0.0 (2021-07-20)

Features

BREAKING CHANGES

  • Service hooks could return undefined if consumed in a component that wrapped by the service provider component. This was always the case but not reflected in the types. Now the return type of a hook is the API or undefined. This may cause breaking changes at build time if consuming project has strict typing enabled, and require consumers to check if the result of their hook is defined before using it.

v1.0.1

31 May 14:28

Choose a tag to compare

1.0.1 (2021-05-31)

Bug Fixes

  • use correct version filter for react (23021a0)

v1.0.0

28 May 14:11

Choose a tag to compare

1.0.0 (2021-05-28)

Bug Fixes

Features

  • create multiple service components from single context (2be72d1)
  • pass api as argument to children function (5f13e57)

BREAKING CHANGES

  • No longer passes children and fallback props to api hook.