Skip to content

0.0.3 Release Candidate

Pre-release
Pre-release
Compare
Choose a tag to compare
@patrickroberts patrickroberts released this 01 Oct 22:07
· 39 commits to master since this release

Changes:

  • Bugfix in ServiceProvider: useThenable() now returns the RefObject instead of the dereferenced PromiseState. The RefObject should be dereferenced in read() rather than during rendering since the ServiceProvider does not re-render when the Suspense component finishes awaiting the thrown promise.
  • Testing now references the production-built files instead of the original source files, and the workflow rebuilds the project before running tests.
  • Id is now an alias for the valid identifier types used to differentiate providers within the same Context or Service type.