Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Have you tried react-hook-form? I haven’t since I barely use React anymore, but it looks like the most robust library to build forms in react. I’ve banged my head against the wall more than once building forms from scratch in react
-
MrMarco3032y@red-knot Yes I've used it extensively, it feels like a patchy workaround for something that doesn't fundamentally work in the first place
-
@spongegeoff mainly working with Angular on the frontend at the moment. Angular forms are a delight compared to what needs to be done in React to get a decent form running
-
DEVil6669172y@MrMarco its not a workaround, React was built to render UIs not to handle forms, that (as many stuff on React) requires an external library or where it makes sense a DIY solution
-
@DEVil666 I always thought forms were/are a major part of UI on the net. That's the 'I' for 'interaction', no?
-
DEVil6669172y@spongegeoff yes but not all applications are going to have interactions mediated by complex forms and React wants to stay as general as possible.
Building forms in React.js is like cutting sourdough bread with a blunt knife on a flimsy table
rant
react react.js