2.0.0-beta.0
Pre-release
Pre-release
·
22 commits
to main
since this release
Update
- Rewrite project with TypeScript;
- Rewrite documentation;
- Expand cache so it can hold multiple operations. With that, when
useSuspenderis called with different arguments - each call will create a new operation. However, if called with the same arguments, the same operation will be thrown unless finished.
Add
- Expose
cacheproperty fromuseSuspenderhook for manual control over the internal cache. The cache has two properties:sizeandclear. This feature is experimental and not documented yet!
All changes: v1.1.0...v2.0.0-beta.0