Closed fwextensions closed 1 year ago
Should we move this useForm custom hook to that directory?
I'd say no, as then the context would need to be exported, and it's not used anywhere else. This way, the only way to access it is through the hook.
I tend to keep hooks that are tied to a particular component in with the component code, but put generic ones in a separate directory.
Ringdown.Fields
was added in a previous PR, so use that instead offieldHashes
.setValidationStateForInput()
, which didn't seem to depend on the current state.