Just noticing that the Switch primitive doesn't reset on form reset when uncontrolled. One workaround is to control the primitive, but a better one in my opinion is to use a state as a key on the primitive and to set the state to a new (random) value in an handler or an action onReset on the form.
Just noticing that the Switch primitive doesn't reset on form reset when uncontrolled. One workaround is to control the primitive, but a better one in my opinion is to use a state as a key on the primitive and to set the state to a new (random) value in an handler or an action onReset on the form.