Bvaughn Suspense Versions Save

Utilities for working with React Suspense

0.0.53

2 months ago
  • prefetch method should not thrown an already-cached error

0.0.52

2 months ago
  • Add custom error message for non-experimental "react" and "react-dom" dependencies.

0.0.51

2 months ago
  • Add status field to deferred objects (values created with createDeferred)

0.0.50

2 months ago
  • Add displayName property to custom hooks to improve React DevTools display

0.0.49

2 months ago
  • Notify subscribers when an externally cached object replaces a pending record

0.0.48

2 months ago
  • Fix edge case bug in useStreamingValue that sometimes caused updates to be dropped

0.0.47

2 months ago
  • Upgrade Preconstruct to fix missing suspense.development.cjs.mjs in the published package.

0.0.46

9 months ago
  • 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

9 months ago
  • createStreamingCache add convenience method readAsync for blocking (async) reads.

0.0.44

10 months ago
  • 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.