Skip to content

Commit

Permalink
Update content/blog/a-quick-glance-at-the-react-19-beta-feature-set.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
madole and coderabbitai[bot] committed Apr 28, 2024
1 parent a38a217 commit be9444a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ slug: 'a-quick-glance-at-the-react-19-beta-feature-set'
- The use function - new API to read resources in render. Which is named like a hook but doesn't have the same conditional code issue is there, you can give it promises or contexts.
_Confusing at first glance, maybe it'll settle over time._
- Server components and actions continue to be a thing
- Goodbye `forwardRef`, just use ref directly in props now as the second param.
- Goodbye `Context.Provider`, you just use `<Context>` as the provider now
- Goodbye `forwardRef`, just use ref directly in props now as the second param. - Goodbye `Context.Provider`, you just use `<Context>` as the provider now
- `ref` callbacks get a cleanup callback like effects
- Goodbye `react-helmet` - React now handles HTML metadata and hoists it into the head from any component
- Stylesheet links and `<style>` tags now available - _How was this not a thing before? 🤯_
Expand Down

0 comments on commit be9444a

Please sign in to comment.