8
React Labs: What We've Been Working On
(react.dev)
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