Inputs are collected in standard React fashion with some hooks:
To be honest, I'm not the most well-versed in best practices surrounding the new React hooks, so I could be wrong here / doing things in a convoluted way. The code here is a carry-over from the template I mention
(this comment is also a test of hypothes.is annotations on my blog!)