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

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

timdaub pfp
timdaub
@timdaub.eth
actually I‘d have no problem with using jquery or vanilla JS at the moment just inserting stuff into the page. I‘m not using React for 99% of the rendering. Besides, preact is a sane alternative to react that fixes some of the issues described
2 replies
0 recast
0 reaction

David Furlong pfp
David Furlong
@df
react has its complexity, but frontend programming is by nature a more complex problem than backend, and in not sure theres that much more improvement to squeeze out. Using jquery makes the problem much more complex and harder to reason about
1 reply
0 recast
0 reaction

timdaub pfp
timdaub
@timdaub.eth
Ya, at this point I just wanna add onClick listeners to functionality and keep all logic server side. The caching makes my site fast and reliable anywhere. If I‘d convert it to a SPA I‘d start having all sorts of problems. I want web components but without jank. But it doesn‘t exist
0 reply
0 recast
0 reaction