Releases: bvaughn/suspense
Releases Β· bvaughn/suspense
0.0.53
prefetch
method should not thrown an already-cached error
0.0.52
- Add custom error message for non-experimental "react" and "react-dom" dependencies.
0.0.51
- Add
status
field to deferred objects (values created with createDeferred
)
0.0.50
- Add
displayName
property to custom hooks to improve React DevTools display
0.0.49
- Notify subscribers when an externally cached object replaces a pending record
0.0.48
- Fix edge case bug in
useStreamingValue
that sometimes caused updates to be dropped
0.0.47
- Upgrade Preconstruct to fix missing
suspense.development.cjs.mjs
in the published package.
0.0.46
- Add convenience
read
method to createStreamingCache
for blocking (Suspense) reads
- Add
error
property to createStreamingCache
values; useStreamingValue
hook will now return the reason for a streaming failure
0.0.45
createStreamingCache
add convenience method readAsync
for blocking (async) reads.
0.0.44
createCache
and createIntervalCache
methods subscribeToStatus
renamed to subscribe
and parameters changed to also include value or error
createCache
subscribers notified after value explicitly cached via cache
useCacheMutation
sync mutation notifies subscribers after mutation
The change in subscription APIs was made to simplify interop with imperative code.