mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
This is an optimization where useFormState will only emit extra comment
markers if a form state is passed at the root. If no state is passed, we
don't need to emit anything because none of the hooks will match.
DiffTrain build for [d6dcad6a8b](https://github.com/facebook/react/commit/d6dcad6a8beaeec0513a9851d1e0fe1181932360)