Skip to content

Releases: bvaughn/suspense

0.0.53

06 Mar 16:50
Compare
Choose a tag to compare
  • prefetch method should not thrown an already-cached error

0.0.52

06 Mar 16:50
Compare
Choose a tag to compare
  • Add custom error message for non-experimental "react" and "react-dom" dependencies.

0.0.51

06 Mar 16:50
Compare
Choose a tag to compare
  • Add status field to deferred objects (values created with createDeferred)

0.0.50

06 Mar 16:50
Compare
Choose a tag to compare
  • Add displayName property to custom hooks to improve React DevTools display

0.0.49

06 Mar 16:49
Compare
Choose a tag to compare
  • Notify subscribers when an externally cached object replaces a pending record

0.0.48

06 Mar 16:49
Compare
Choose a tag to compare
  • Fix edge case bug in useStreamingValue that sometimes caused updates to be dropped

0.0.47

06 Mar 16:49
Compare
Choose a tag to compare
  • Upgrade Preconstruct to fix missing suspense.development.cjs.mjs in the published package.

0.0.46

19 Jul 13:24
Compare
Choose a tag to compare
  • 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

19 Jul 11:53
Compare
Choose a tag to compare
  • createStreamingCache add convenience method readAsync for blocking (async) reads.

0.0.44

28 Jun 14:38
Compare
Choose a tag to compare
  • 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.