-
-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jsx/dom : Improve compatibility with React 19 #2959
Comments
Hi @yusukebe |
React 19!!!! Created https://github.com/honojs/hono/tree/react-19-compat |
I want to have the form. |
Thank you! > react-19-compat I've added the "form with useActionState, useFormStatus, useOptimistic" to the to-do list! |
Thanks @usualoma ! I like the export default function Form() {
async function action(formData: FormData) {
const query = formData.get('query')?.toString() ?? 'no query'
console.log(query)
}
return (
<form action={action}>
<input name="query" />
<button type="submit">Submit</button>
</form>
)
} |
'Support for preloading resources' is a bit tricky compared to the existing JSX behaviour, so I'd like to put it on the back burner and perfect the other features. |
Hey @usualoma I think we can close this issue now. |
Yes, let's close this! |
The following was not implemented but will be considered separately if requested. I close this issue as the others have been implemented. |
From React 19, there is an additional function for allocating arrays for caching used by React Compiler under the module name The default value of the so-called React Compiler's |
What is the feature you are proposing?
https://react.dev/blog/2024/04/25/react-19
Support for preloading resourcesreactAPICompatVersion
The text was updated successfully, but these errors were encountered: