·
5040 commits
to main
since this release
Patch Changes
-
c3406eb: fix: Rename
<Deferred>to<Await>(#9095)- We are no longer replacing the
PromiseonloaderDatawith the value/error
when it settles so it's now always aPromise. - To that end, we changed from
<Deferred value={promise}>to
<Await resolve={promise}>for clarity, and it also now supports using
<Await>with raw promises from anywhere, not only those onloaderData
from a defer() call.- Note that raw promises will not be automatically cancelled on interruptions
so they are not recommended
- Note that raw promises will not be automatically cancelled on interruptions
- The hooks are now
useAsyncValue/useAsyncError
- We are no longer replacing the
-
Updated dependencies
- @remix-run/[email protected]