8
you are viewing a single comment's thread
view the rest of the comments
[-] aeharding@lemmy.world 1 points 8 months ago* (last edited 8 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 8 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

907 readers
1 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