useFormState: Only emit markers if postback state is provided (#27374)
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.
A
Andrew Clark committed
d6dcad6a8beaeec0513a9851d1e0fe1181932360
Parent: 54c2f2a
Committed by GitHub <noreply@github.com>
on 9/14/2023, 3:46:16 PM