mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Add secret internals section
This commit is contained in:
@@ -435,7 +435,15 @@ TODO
|
||||
|
||||
### Changes for libraries depending on internals {/*changes-for-libraries-depending-on-internals*/}
|
||||
|
||||
TODO
|
||||
This release includes changes to React internals that may impact libraries that ignore our pleas to not use internals like `SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`. These changes are necessary to land improvements in React 19, and will not break libraries that follow our guidelines.
|
||||
|
||||
Based on our [Versioning Policy](https://react.dev/community/versioning-policy#what-counts-as-a-breaking-change), these updates are not listed as breaking changes, and we are not including docs for how to upgrade them. The recommendation is to remove any code that depends on internals.
|
||||
|
||||
To reflect the impact of using internals, we have renamed the `SECRET_INTERNALS` suffix to:
|
||||
|
||||
`_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE`
|
||||
|
||||
In the future we will more aggressively block accessing internals from React to discourage usage and ensure users are not blocked from upgrading.
|
||||
|
||||
|
||||
## Other Breaking Changes {/*other-breaking-changes*/}
|
||||
|
||||
@@ -12,13 +12,13 @@ This blog is the official source for the updates from the React team. Anything i
|
||||
|
||||
<BlogCard title="React 19 Beta " date="April 1, 2024" url="/blog/2024/04/01/react-19">
|
||||
|
||||
TODO
|
||||
In the React 19 Beta Upgrade Guide, we shared step-by-step instructions for upgrading your app to React 19 Beta. In this post, we'll give an overview of the new features in React 19, and how you can adopt them.
|
||||
|
||||
</BlogCard>
|
||||
|
||||
<BlogCard title="React 19 Beta Upgrade Guide" date="February 15, 2024" url="/blog/2024/04/01/react-19-upgrade-guide">
|
||||
<BlogCard title="React 19 Beta Upgrade Guide" date="April 1, 2024" url="/blog/2024/04/01/react-19-upgrade-guide">
|
||||
|
||||
TODO
|
||||
The improvements added to React 19 require some breaking changes, but we've worked to make the upgrade as smooth as possible and we don't expect the changes to impact most apps. In this post, we will guide you through the steps for upgrading libraries to React 19 beta.
|
||||
|
||||
</BlogCard>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user