@aeharding to [email protected] • 9 months agoReact Labs: What We've Been Working Onreact.devexternal-linkmessage-square2arrow-up110arrow-down11
arrow-up19arrow-down1external-linkReact Labs: What We've Been Working Onreact.dev@aeharding to [email protected] • 9 months agomessage-square2
minus-square@aehardingOPlink2•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-square@aehardingOPlink3•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