Skip to content

docs: add note about use(Context) support in React 19 to useContext r… - #8630

Open
ChijiokeUhegwu wants to merge 1 commit into
reactjs:mainfrom
ChijiokeUhegwu:docs/7723-use-in-usecontext
Open

docs: add note about use(Context) support in React 19 to useContext r…#8630
ChijiokeUhegwu wants to merge 1 commit into
reactjs:mainfrom
ChijiokeUhegwu:docs/7723-use-in-usecontext

Conversation

@ChijiokeUhegwu

Copy link
Copy Markdown

…eference

Informs developers that starting in React 19, use(Context) can be used instead of useContext(Context) to read context inside conditionals and loops.

…eference

Informs developers that starting in React 19, use(Context) can be used instead of useContext(Context) to read context inside conditionals and loops.
@github-actions

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant