Content
@
https://warpcast.com/~/channel/react
0 reply
0 recast
0 reaction
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
@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
@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 đ ïž
@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
@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