While interesting, the form example looks alien, to say the least...
<form ref="login" className="login">
<input name="email" type="email" />
...
</form>
Would be more idiomatic... Though at 2kb, it's hardly worth complaining about... Preact isn't much larger, but has more idiomatic support for react-style JSX, which I've used a couple times now.