Skip to content

0.2.0 API Changes

Compare
Choose a tag to compare
@patrickroberts patrickroberts released this 30 Oct 06:37
· 22 commits to master since this release

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()