aeharding@lemmy.world to React@programming.dev · 9 months agoReact Labs: What We've Been Working Onreact.devexternal-linkmessage-square2fedilinkarrow-up19arrow-down11cross-posted to: hackernews@lemmy.smeargle.fans
arrow-up18arrow-down1external-linkReact Labs: What We've Been Working Onreact.devaeharding@lemmy.world to React@programming.dev · 9 months agomessage-square2fedilinkcross-posted to: hackernews@lemmy.smeargle.fans
minus-squareaeharding@lemmy.worldOPlinkfedilinkarrow-up1·edit-29 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·9 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