Skip to content

Conversation

hi-ogawa
Copy link
Contributor

@hi-ogawa hi-ogawa commented Aug 26, 2025

Description

The long time type annoyance is finally fixed, so I updated this manually.

Hmm, we still have this one. Probably I should suggest a fix on react-router:

const formState =
payload.type === 'render' ? await payload.formState : undefined
const bootstrapScriptContent =
await import.meta.viteRsc.loadBootstrapScriptContent('index')
return await renderHTMLToReadableStream(
<RSCStaticRouter getPayload={getPayload} />,
{
bootstrapScriptContent,
// @ts-expect-error - no types for this yet
formState,
},
)
},

@hi-ogawa hi-ogawa changed the title chore(deps): update @types/react-dom to fix formState chore(deps): update @types/react-dom to fix formState Aug 26, 2025
@hi-ogawa hi-ogawa marked this pull request as ready for review August 26, 2025 23:14
@hi-ogawa hi-ogawa merged commit af9139f into main Aug 27, 2025
19 of 20 checks passed
@hi-ogawa hi-ogawa deleted the 08-26-chore_deps_update_types_react-dom_to_fix_formstate_ branch August 27, 2025 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant