react.dev
react.dev copied to clipboard
The React documentation website
### Summary There is a paragraph about re-rendering of children when parent re-renders which doesn't seem to be accurate, see below. ### Page https://react.dev/reference/react/useContext#optimizing-re-renders-when-passing-objects-and-functions ### Details Here: https://react.dev/reference/react/useContext#optimizing-re-renders-when-passing-objects-and-functions, it says...
### Summary When I run the project after `npm install` there was the bellow error: `'GENERATE_SOURCEMAP' is not recognized as an internal or external command,` ### Page package.json ### Details...
When SidebarNav has all elements collapsed it shows always the scroll-y (due to overflow-y-scroll class). If change it with overflow-y-auto it disappears when it is no needed and to avoid...
### Summary The Section on DOM events in the page `Using TypeScript`, mentions extracting functions, this can be elaborated further to include the case where we do get the types...
This is a proposal how we can retain pages for deprecated APIs while maintaining an "evergreen" page that avoids creating versioned copies. This adds a new navigation entry for the...
An alternative proposal to add a changelog to the bottom of the page to show newly added APIs. This is similar to - php.net: https://www.php.net/manual/en/function.get-magic-quotes-runtime.php#refsect1-function.get-magic-quotes-runtime-changelog - MDN: https://developer.mozilla.org/en-US/docs/Web/API/Node/insertBefore#browser_compatibility This approach...
An idea how to signal the version support of `cache`.
There is a link error in the "slot" field(https://react.dev/reference/react-dom/components/common)