Progressive enhancement for form state (#55584)
This PR implements progressive enhancement for `useFormState`: 1. Inline the form state in `__next_f` and use it for hydration. 2. Encode the new form state based on the action return value, and pass it to Flight/Fizz. Also fixed a problem caused by inconsistent React tree structure between static-generation and non-static-generation.
Showing
Please
register
or
sign in
to comment