Open davesnx opened 1 month ago
This PR adds some of the new functions on React 19.
useFormStatus
useOptimistic
Experimental.use
Experimental.usePromise
Experimental.useContext
I left out all the canary stuff: React.promise/React.context/useActionState/async components. In future PRs will do ref as prop
ref
This PR adds some of the new functions on React 19.
useFormStatus
. It relies on FormData and depends on melange.dom (build is failing since isn't solved: https://github.com/melange-re/melange/pull/1153)useOptimistic
Experimental.use
toExperimental.usePromise
and addExperimental.useContext
I left out all the canary stuff: React.promise/React.context/useActionState/async components. In future PRs will do
ref
as prop