this post was submitted on 20 Feb 2024
9 points (90.9% 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

[email protected]

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

founded 1 year ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old
[–] aeharding 2 points 8 months ago* (last edited 8 months ago) (1 children)

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 3 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