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

timdaub pfp
timdaub
@timdaub.eth
@df https://github.com/attestate/kiwistand/blob/main/src/web/src/main.jsx#L129 from a principle perspective, this is jquery
1 reply
0 recast
0 reaction

David Furlong pfp
David Furlong
@df
🫣🤐 I would not recommend this codebase convention
1 reply
0 recast
0 reaction

timdaub pfp
timdaub
@timdaub.eth
yeah understandably, but the results in the rendering and behavior are actually decent, so I think that‘s also telling about the state of these frameworks
2 replies
0 recast
0 reaction