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
brian is live on unlonely
@briang
skill issue
1 reply
1 recast
8 reactions
timdaub
@timdaub.eth
actually I am literally too dumb for the average Facebook academic side effect programming language ideas, so yes, they need to dumb that shit down a lot
1 reply
0 recast
1 reaction
Aleks Bykhun
@caffeinum
it's a simple mental shift, but once it clicks, it clicks forever you need to think declaratively vs imperatively, like in FP
1 reply
0 recast
0 reaction
timdaub
@timdaub.eth
if you follow the thread responses about localStorage you will see that this isn‘t necessarily true. Nothing clicks because you cannot understand the actual implementation of localStorage and useEffect/useState https://blog.logrocket.com/using-localstorage-react-hooks/
1 reply
0 recast
1 reaction