Skip to content

Releases: patrickroberts/suspense-service

0.3.2 Maintenance

07 Dec 09:11
Compare
Choose a tag to compare

Changes:

  • Upgraded dependencies
  • Added Node v16 to test matrix
  • Removed Node v10 from test matrix due to rollup-plugin-ts error unable to resolve @babel/runtime module in CI

0.2.9 Readme

24 Feb 03:15
Compare
Choose a tag to compare

Changes:

  • Further improved bundle size
  • Updated README with CodeSandbox demos

0.2.8 Bugfix

13 Feb 18:21
Compare
Choose a tag to compare

Changes:

  • Minor bugfix in useResetReducer that prevents re-render when reducer returns state unchanged
  • Some formatting changes to further improve minified bundle size

0.2.7 Bundle Size Optimization

25 Jan 03:34
Compare
Choose a tag to compare

Changes:

  • Removed implicit use of iterators from implementation
  • Relaxed ServiceProvider fallback prop validation in order to allow bare strings in addition to JSX

0.2.6 StateContextProvider patched

15 Jan 11:03
Compare
Choose a tag to compare

Changes:

  • memoized StateContextProvider is now implemented to re-render when reset prop is changed

0.2.5 State Context

15 Jan 10:51
Compare
Choose a tag to compare

Changes:

  • Added State Context to library exports for separating state management from the consuming component.
    • Allows state to be reset with customizable behavior via the StateContextProvider reset prop when the value prop is updated.

0.2.4 Code Coverage

23 Nov 00:01
Compare
Choose a tag to compare

Changes:

  • Added code coverage report to continuous integration build

0.2.3 Updated Readme

31 Oct 08:12
Compare
Choose a tag to compare

The README.md now reflects the changes in v0.2.x

0.2.1 Patch

30 Oct 06:53
Compare
Choose a tag to compare

Exported Handler type from public API

0.2.0 API Changes

30 Oct 06:37
Compare
Choose a tag to compare

Changes:

  • UMD global renamed from suspenseService to SuspenseService
  • useServiceState() hook added to public API
  • optional reset prop added to ServiceProvider
  • Exported Reset type from public API
  • Exported Consumer, Provider, and respective Props from public API for both IdContext and Service
  • Service handler now invoked during render phase rather than in useEffect()