News for hackers. Stuff that matters.
Re:React: You Might Not Need an Effect by rozenmd on Thursday March 23, 2023 @04:39AM (#35271882)
Not all sharp edges are equal, the sharpest (according to % of traffic to my blog, anyway) seems to be race conditions (https://maxrozen.com/race-conditions-fetching-data-react-wit...), and that's not even unique to useEffect...
Re:React: You Might Not Need an Effect by kristopolous on Thursday March 23, 2023 @07:16AM (#35272954)
I've run into race conditions inside of react that has made me gobsmacked. I swear the thing must be written by fresh faced middle schoolers.

I'm so glad I don't have to deal with it anymore. After being in programming for over 20 years, I started making plans to exit the entire industry. Now I realize it was just react. That thing made me despise programming. I kept a virulent twitter journal of my time in react. It seems foreign to me now. Good! Example: https://twitter.com/SisNode/status/1458942812087414797

Re:React: You Might Not Need an Effect by doodlesdev on Thursday March 23, 2023 @08:32AM (#35273703)
I think I just found a reason to use Twitter. This might be the best Twitter account I've ever seen lmao.
Re:React: You Might Not Need an Effect by kristopolous on Thursday March 23, 2023 @09:32AM (#35274513)
hey thanks. I know there's always many actual people behind all these projects trying their hardest. I hope nobody takes my jeers personally. I'm playing a character.

I mean sure, the passions are real but I'm also ostensibly a well behaved sincere adult. I don't actually want to "literally stab the people who wrote [apache modrewrite] repeatedly in the eyeballs" - although a reconsideration of how transparent the flow is would be greatly appreciated.

Perhaps I should add that to my list of "things to do" and you know, fix it myself. Be responsible or something. I've become intentionally unemployed in order to spend some time on stuff like this and regroup. I should do it.

Honestly, I'm probably still recovering from that react project. Maybe I should do some therapy. It was bad.

Re:React: You Might Not Need an Effect by amrocha on Thursday March 23, 2023 @05:09PM (#35281310)
From this account, you seem very unpleasant to work with. Anger just makes you more angry and bitter, you gain nothing by being this angry, and people who see your comments are hurt by them.

You said you keep it private and try to be well behaved, but it probably comes out in your interactions with others, whether you're aware of it or not.

Re:React: You Might Not Need an Effect by kristopolous on Thursday March 23, 2023 @09:29PM (#35283923)
I appreciate your concern, really. Thanks!

I used to do comedy when I was much younger and I've always had a love for it. I've tried the unhinged neckbeard character a few times. For instance, here's 11 years ago https://mobile.twitter.com/gitHater/status/16997810622706892...

Re:React: You Might Not Need an Effect by kobalsky on Thursday March 23, 2023 @01:19PM (#35278041)
looks like we've unknowingly avoided a lot of issues by using redux and sagas.

this model clicks so perfectly I still wonder why it's not the standard.