Releases: patrickroberts/suspense-service
Releases · patrickroberts/suspense-service
0.3.2 Maintenance
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
Changes:
- Further improved bundle size
- Updated README with CodeSandbox demos
0.2.8 Bugfix
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
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
Changes:
- memoized StateContextProvider is now implemented to re-render when reset prop is changed
0.2.5 State Context
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
Changes:
- Added code coverage report to continuous integration build
0.2.3 Updated Readme
The README.md now reflects the changes in v0.2.x
0.2.1 Patch
Exported Handler type from public API
0.2.0 API Changes
Changes:
- UMD global renamed from
suspenseService
toSuspenseService
useServiceState()
hook added to public API- optional
reset
prop added toServiceProvider
- Exported
Reset
type from public API - Exported Consumer, Provider, and respective Props from public API for both
IdContext
andService
- Service handler now invoked during render phase rather than in
useEffect()