Content pfp
Content
@
https://warpcast.com/~/channel/react
0 reply
0 recast
0 reaction

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
Five more hours of my life debugging a React-related issue that I'II never get back đŸ«  You’re telling me if I want to conditionally render stuff that relies on state from a Provider, I have to break out the entire subtree into a `useMemo` expression to prevent the Provider from resetting its state whenever an unrelated component randomly decides to re-render?? Make it make sense đŸ€Ą
8 replies
3 recasts
19 reactions

dionysuz.eth pfp
dionysuz.eth
@dionysuz.eth
what’re you building that made you select react over svelte? if that’s the case
1 reply
0 recast
1 reaction

dionysuz.eth pfp
dionysuz.eth
@dionysuz.eth
or why was that decision made / what was lacking and hard to do w svelte? i can imagine quite a few things but still curious
1 reply
0 recast
1 reaction

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
The client has a massive existing React / Next.js codebase and wants me to add some new features. They are (understandably) reluctant to switch to something new because it’ll take a lot of time and resources to migrate and retrain their existing developers. Many, many such cases.
1 reply
0 recast
1 reaction

dionysuz.eth pfp
dionysuz.eth
@dionysuz.eth
many such cases indeed. i can’t even knock it because of the existing ecosystem, it’s simply painful. gl king
0 reply
0 recast
1 reaction