Hey author I like this! It's very close to what I use for simple forms, my library `forn`:
import forn from 'forn';
export default () => (
<form onSubmit={forn(data => console.log(data))}>
<input name="firstName" placeholder="First Name" />
<input name="lastName" placeholder="Last Name" />
<button>Send!</button>
</form>
);
Test it: https://codesandbox.io/s/agitated-johnson-3hv96Why do you need the register though? Is the hook needed to hold the refs? Is it only for compatibility with React Native or are there other reasons? With forn I use `e.target`, which should not be available in RN.