github remix-run/react-router react-router@6.4.0-pre.11

latest releases: v0.0.0-experimental-79e23be50, react-router@6.23.1-pre.0, react-router-native@6.23.1-pre.0...
pre-release21 months ago

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

Don't miss a new react-router release

NewReleases is sending notifications on new releases.