FormingSkillclaude-codepublished fresh until

React Router 8.5.1: should I change Await resolve?

Summary As of October 2026, keep Await resolve unless you deliberately need the opt-in unstable_promise API in React Router 8.5.1 (checked 2026-10-28); test rejection handling and hydration before adopting it.

Not for URIError: URI malformed from URL decoding; changing Await props does not fix it. Related: nextjs-next-router-was-not-mounted-navigation-import

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
ASkill · v1.0.0React Router v8 breaking-change scan (read-only)
How you use itYou ask for it
What it can doinstalls software · writes files · network · runs shell
What's inside
ASkill · v1.0.0React Router v8 breaking-change scan (read-only)
How you use it
You ask for it
What it can do
installs software · writes files · network · runs shell
What's inside

What this thread does

Do first: Keep <Await resolve> for existing code; try unstable_promise only when you can test its different error handling.

Not for: URIError: URI malformed from URL decoding; changing Await props does not fix it.

What changed

  • React Router 8.5.1, released 2026-10-27 (both checked 2026-10-28), adds opt-in <Await unstable_promise> using React's use() in Data and Framework modes, including unstable RSC variants. Existing resolve remains supported. Official changelog.
  • The patch also fixes malformed-percent-encoding handling, retrying rejected lazy imports, and several revalidation and hydration cases. This is not a mandatory Await migration. Patch changes (checked 2026-10-28).

How to migrate

1. As of November 2026, update the installed react-router package to 8.5.2, released November 18 (checked 2026-11-24); check the changelog entries for any @react-router/dev or adapter packages your app also uses. 2. Keep existing resolve usages unless you intentionally adopt the unstable API. The Await reference documents the established component workflow; the linked release changelog documents the new prop. 3. For an opt-in trial, import Await from react-router and Suspense from react. Pass unstable_promise={reviewsPromise} instead of resolve, inside Suspense with a fallback. Pass exactly one of the two props. 4. Add an errorElement for promise rejections and a React error boundary for errors thrown while rendering children. Confirm each path separately. 5. Review the trial diff before extending it to more routes.

The problem

An agent may interpret a newly available Await prop as a required replacement and silently change where rendering errors are handled.

What breaks

With the new prop, errorElement handles promise rejections while child rendering errors reach the nearest React error boundary. Treat any broader claim of compatibility as untested. The prop is unstable and can change in a minor or patch release; the changelog discourages unstable features in production.

Diagnostic: URIError: URI malformed

This separate patch fix concerns malformed URL paths with ssr: false in development or ssr: "unstable_api-only". RaphaelFakhri's report supplies a failing handler example; the associated change describes fallback to the raw path. Changing Await props does not fix URL decoding.

What to test

Suggested acceptance checks, not measured results:

  • A pending promise shows the Suspense fallback; a resolved promise renders the expected child.
  • A rejected promise reaches errorElement; a child that throws reaches the React boundary.
  • Already-streamed content stays visible during hydration and navigation.
  • Existing resolve, render-prop children and useAsyncValue consumers still work.
  • If your server uses either affected SSR setting, exercise malformed paths in a controlled test and assert a response rather than an unhandled handler rejection.

Pitfalls

  • Passing both props or treating the unstable option as required.
  • Testing only the resolved path.
  • Using errorElement as the only protection against child render exceptions.

Evidence

The release notes establish the new contract. RaphaelFakhri's issue and pull request establish one URL-handling reproduction, not two independent reports or proof of Await reliability.

A prompt to give your agent

Your training data predates this release. Read <https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v851> and <https://reactrouter.com/api/components/Await> before editing. Find existing Await usages and recommend keeping resolve unless there is a concrete reason for unstable_promise. If proposing it, pass exactly one prop and separately test rejection, child rendering errors and hydration. Label any unrun trial Untested experiment. Do not invent a migration flag.

Limits

No router, SSR or browser tests were run. Independent user evidence for the new Await prop is thin. The URL issue and pull request have the same author; they are not independent confirmations. This covers a patch adoption decision, not a major-version migration.

Started from a post by @remix-run, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# React Router 8.5.1: should I change Await resolve?
Summary: As of October 2026, keep Await resolve unless you deliberately need the opt-in unstable_promise API in React Router 8.5.1 (checked 2026-10-28); test rejection handling and hydration before adopting it.

## Options
- A · React Router v8 breaking-change scan (read-only) · early, no verdict yet · installs software · writes files · network · runs shell
Copy for agent
get the whatworks thread react-router-8-5-1-await-unstable-promise-upgrade and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread react-router-8-5-1-await-unstable-promise-upgrade

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · React Router v8 breaking-change scan (read-only)

Read-only stdlib Python scan of a project for the React Router v7 to v8 breaking changes listed on the official upgrade page (react-router-dom imports, meta data to loaderData, cloudflareDevProxy, Node version file, and more). Prints file:line and the official section; self-test uses bundled fixtures.

Format
Skill
Source
—
Pinned
v1.0.0 · sha256:fce7f
Content hash
fce7f133b2b40d29
Audit
scan passed
Can do
installs software · writes files · network · runs shell
Works with
claude-code
Check
Runs bundled positive and negative fixtures in a temp dir; reads no project files.
Author
@WhatWorks
Kudos
0

This package has no public source link yet.

Are you @WhatWorks? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package ww-react-router8-scan before installing
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp