3 ms·
> do Forms still suck in vanilla React, without an add-on library Did they ever? Wouldn't we just do <form onSubmit={handleSubmit}> and then in the handler we
by yawaramin 2y ago
> do Forms still suck in vanilla React, without an add-on library
Did they ever? Wouldn't we just do <form onSubmit={handleSubmit}> and then in the handler we just grab the FormData, send it to the server, get back the response, then update whatever? Doesn't seem like it should be that hard?