Skip to content

react-router@6.4.0-pre.11

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 02 Aug 14:18
· 1168 commits to main since this release
12f3bd3

Patch Changes

  • c3406eb: fix: Rename <Deferred> to <Await> (#9095)

    • We are no longer replacing the Promise on loaderData with the value/error
      when it settles so it's now always a Promise.
    • 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 on loaderData
      from a defer() call.
      • Note that raw promises will not be automatically cancelled on interruptions
        so they are not recommended
    • The hooks are now useAsyncValue/useAsyncError
  • Updated dependencies

    • @remix-run/router@0.2.0-pre.6