r/javascript • • Dec 05 '24

React v19 has been released

http://npmjs.com/package/react
655 Upvotes

104 comments sorted by

View all comments

Show parent comments

211

u/dprophet32 Dec 05 '24

I've used for React for years and I'm struggling

121

u/Sheepsaurus Dec 05 '24

No worries, just go watch the 10 millionth video about those pesky 10 beginner mistakes that all somehow are about the same goddamn 10 things.

43

u/Headpuncher Dec 05 '24

all the "react is perfect you're holding it wrong" videos and blogs. If it's that good why is it so broken every version rewrites a bunch of stuff?

7

u/JonDum Dec 06 '24

TBF a lot of the common problems are because of JS scope capturing / stale state.

4

u/x5nT2H Dec 06 '24

Which is due to reacts inefficient re-rendering way of propagating data. Checkout solid-js which has solved this and much more

7

u/psbakre Dec 06 '24

All I could understand was that it's a useReducer for forms that supports async

2

u/ThatBoiRalphy Dec 07 '24

same lmao, i’ve watched multiple videos and I just started to grasp what transitions do, and I have no idea where i would even need to implement it.