timdaub pfp
timdaub
@timdaub.eth
honestly React Hooks and JSX are so fucking annoying. Just let me use god damn JavaScript for fucks sake. All this extra magic with useEffects, new syntax and producing incompatibilities with the regular JS event loop model is soooooo confusing. I now notice because I'm using nodejs a lot where everything is consistent
12 replies
1 recast
5 reactions

timdaub pfp
timdaub
@timdaub.eth
Oh you wanna use localstorage in a React Component. Hold on a second, please first use seven of these esoteric functions in our library to render. Then you render it and it performs like shit. Oh you wanna style a div? 'style="display: block; color: white;"' oh no sorry that won't work please use object syntax WHY?
1 reply
0 recast
1 reaction

brian is live on unlonely pfp
brian is live on unlonely
@briang
skill issue
1 reply
1 recast
8 reactions

Rafi pfp
Rafi
@rafi
Well put. After years of React pain I migrated to Svelte-land. It has minor issues but it’s way better than the alternatives.
3 replies
0 recast
2 reactions

vincent pfp
vincent
@pixel
svelte
1 reply
0 recast
1 reaction

darth grin pfp
darth grin
@grin
about to start learning react for this app I’m working on. Now I’m worried …
1 reply
0 recast
0 reaction

David Furlong pfp
David Furlong
@df
have you tried jquery lol.. the alternatives to react are all worse
1 reply
0 recast
0 reaction

sean pfp
sean
@swabbie.eth
I think we can all agree that JavaScript is shit & TypeScript only slightly helps and the world would be a better place if everything was written in Go and Python. But alas, that's not the world we live in, and JavaScript is the collective browser religion, so I think React is pretty damn good given the circumstances.
1 reply
0 recast
0 reaction

Max Jackson pfp
Max Jackson
@mxjxn.eth
How do you like solidjs?
1 reply
0 recast
0 reaction

Noah Bragg πŸ”₯ pfp
Noah Bragg πŸ”₯
@nbragg
I like it.
1 reply
0 recast
0 reaction

Phil Cockfield pfp
Phil Cockfield
@pjc
Also, (piling on here)...this "React Server Component" move is a real smell to me. I don't like. Keep the concepts down. React is (or was, or should be) a light layer over JS to unfuck the DOM nightmare. Feature creep is like entropy...dirt building up in the corner.
0 reply
0 recast
0 reaction

Phil Cockfield pfp
Phil Cockfield
@pjc
feel ya pain @timdaub.eth πŸ₯²πŸ₯Ή
0 reply
0 recast
0 reaction

Phil Cockfield pfp
Phil Cockfield
@pjc
I reckon there is a lot to be said for breaking out the meat of what's being done in clean/sane straight-up ESM. And then importing that and invoking within hooks with the least amount of actual logic in the hook itself. That isolates the incompatibility weirdness the JSX hooks bring in and makes shit more testable.
0 reply
0 recast
0 reaction