Re:React has grown beyond its original promise and it's caus...
by alexanderchr on Friday February 09, 2024 @06:30AM
(#39313768)
Yeah especially things like complicated forms can get really hairy if you try to implement them by direct DOM manipulation. Things like fields being shown conditionally based on the value of other fields, data being fetched in the middle of form (depending on field values), stupid complicated validations etc.
Re:React has grown beyond its original promise and it's caus...
by GlenTheEskimo on Friday February 09, 2024 @10:32AM
(#39315779)
I made a paint app with jQuery, and thought it would be a good idea to refactor to React so I could run it on a Next js server and add some multi user support, with later plans of refactoring that to a React native app.
Completely painted into a corner, I gave up after about six hours of trying to get my event listeners to work with React.
It's a shame, because there's so much server side stuff I could be doing right out of the box with Next, but now I basically need to choose a completely different architecture from the one I want because I thought it would be easier to use jQuery.
In all fairness, direct DOM manipulation works a lot better than React for the original app, but now I have to keep DOM state in sync with my server, which is a whole other challenge that React solves quite nicely.
Re:React has grown beyond its original promise and it's caus...
by pcthrowaway on Friday February 09, 2024 @10:49AM
(#39316002)
I'd definitely recommend giving svelte a try, might be fun to integrate some of their built-in animations/transitions with a paint-like app also
Might as well just start with the least common denominator that everyone knows and is easily hired for