News for hackers. Stuff that matters.
Re:Five Years of React Native at Shopify by breckenedge on Friday January 17, 2025 @09:32AM (#42737886)
You’re never telling React “do this”, instead it’s always “change this state” and then hope that it does what you expect it to do, but instead it re-renders 10 components for nonobvious reasons. Sure useMemo can help with this, but, eh, I just wish it worked the first way.

And every React-adjacent project either ends up abandoned or subsumed into the beast.

Re:Five Years of React Native at Shopify by nathanappere on Friday January 17, 2025 @10:54AM (#42739054)
After having used Ember for several years I find it very sad they didn't develop a "mobile" offering, the dev experience is fastly superior (especially as it relates to state handling).

Hooks are a bit of a cancer, they leak absolutely everywhere on top of making it quite difficult to reason about re-renders.

Re:Five Years of React Native at Shopify by r3d0c on Saturday January 18, 2025 @10:11PM (#42753254)
because you didn't learn how react works and thought just knowing javascript was enough, it's very obvious and the devtools literally how you why and where you're getting extra re-renders from; but i guess whining is easier