8
top 2 comments
sorted by: hot top controversial new old
[-] aeharding@lemmy.world 1 points 5 months ago* (last edited 5 months ago)

Lots 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
  • useContextuse(Context)
  • throw promiseuse(promise)

Source : tweet by React maintainer Andrew Clark

Edit: Ugh, lemmy.world ate my HTML. Please upgrade to 0.19 ☹️

[-] aeharding@lemmy.world 2 points 5 months ago

And btw, if you missed it, React Compiler is essentially React Forget

Good video here: https://www.youtube.com/watch?v=qOQClO3g8-Y

this post was submitted on 20 Feb 2024
8 points (90.0% liked)

React

828 readers
11 users here now

A community for discussing anything related to the React UI framework and it's ecosystem.

https://react.dev/

Wormhole

!pico8@programming.dev

Icon base by Skoll under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS