aeharding@lemmy.world to React · 10 months agoReact Labs: What We've Been Working Onreact.devexternal-linkmessage-square2fedilinkarrow-up19arrow-down11
arrow-up18arrow-down1external-linkReact Labs: What We've Been Working Onreact.devaeharding@lemmy.world to React · 10 months agomessage-square2fedilink
minus-squareaeharding@lemmy.worldOPlinkfedilinkarrow-up1·edit-210 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-squareaeharding@lemmy.worldOPlinkfedilinkarrow-up2·10 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