react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

[Suggestion]: Adding an Explanation Text to Optimizing Re-renders in useContext Section

Open praveenzsp opened this issue 1 year ago • 2 comments
trafficstars

Issue link : #6599

Added an explanation text to prevent misunderstanding of usage useContext with useMemo. The text that was added is from the issue description. #6599 Also added a Note as suggested in the Issue description.

Here's the image of updated UI.

Screenshot 2024-02-18 at 6 40 32 PM

praveenzsp avatar Feb 18 '24 13:02 praveenzsp

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
react-dev ✅ Ready (Inspect) Visit Preview Feb 18, 2024 1:15pm

vercel[bot] avatar Feb 18 '24 13:02 vercel[bot]

Size changes

📦 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! 🙌

github-actions[bot] avatar Feb 18 '24 13:02 github-actions[bot]