aͮͫͨ͋ͤͣ͌̏lex͒̃ͪ̃ͨ͛́͂ͪ͗̏ͫͮ̂@lemmy.world to React@programming.dev · 4 months agoReact Labs: What We've Been Working Onreact.devexternal-linkmessage-square2fedilinkarrow-up19arrow-down11cross-posted to: [email protected]
arrow-up18arrow-down1external-linkReact Labs: What We've Been Working Onreact.devaͮͫͨ͋ͤͣ͌̏lex͒̃ͪ̃ͨ͛́͂ͪ͗̏ͫͮ̂@lemmy.world to React@programming.dev · 4 months agomessage-square2fedilinkcross-posted to: [email protected]
minus-squareaͮͫͨ͋ͤͣ͌̏lex͒̃ͪ̃ͨ͛́͂ͪ͗̏ͫͮ̂@lemmy.worldOPlinkfedilinkarrow-up1·edit-24 months agoLots of great improvements to look forward to this year! useMemo, useCallback, memo → React Compiler forwardRef → ref is a prop React.lazy → RSC, promise-as-child useContext → use(Context) throw promise → use(promise) → Source : tweet by React maintainer Andrew Clark Edit: Ugh, lemmy.world ate my HTML. Please upgrade to 0.19 ☹️
minus-squareaͮͫͨ͋ͤͣ͌̏lex͒̃ͪ̃ͨ͛́͂ͪ͗̏ͫͮ̂@lemmy.worldOPlinkfedilinkarrow-up2·4 months agoAnd btw, if you missed it, React Compiler is essentially React Forget Good video here: https://www.youtube.com/watch?v=qOQClO3g8-Y
Lots of great improvements to look forward to this year!
useMemo
,useCallback
,memo
→ React CompilerforwardRef
→ ref is a propReact.lazy
→ RSC, promise-as-childuseContext
→use(Context)
throw promise
→use(promise)
→
Source : tweet by React maintainer Andrew Clark
Edit: Ugh, lemmy.world ate my HTML. Please upgrade to 0.19 ☹️
And btw, if you missed it, React Compiler is essentially React Forget
Good video here: https://www.youtube.com/watch?v=qOQClO3g8-Y