From: Carl Worth Date: Sun, 7 Jun 2020 22:22:28 +0000 (-0700) Subject: Add a submit handler function for our form X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=a1ed0fc881f3bfe6cc55041fda3b54f7c0baa94b;hp=a1ed0fc881f3bfe6cc55041fda3b54f7c0baa94b Add a submit handler function for our form This is still a stub that doesn't actually _do_ aything yet. Note that we're using the "uncontrolled components" React pattern for the input field here as described here: https://reactjs.org/docs/uncontrolled-components.html The alternative, forcing a new call to React's setState on every keypress seems really silly to me, (I don't care to have React getting involved on every keypress). ---