react.dev
react.dev copied to clipboard
The React documentation website
### Summary The deep dive link to the "Optimiizing performance" page in the Render and Commit section points to a legacy page ### Page https://react.dev/learn/render-and-commit ### Details _No response_
### Overview Per title. This point / minor section was missing in the built-in hooks section (follow-up to https://github.com/reactjs/react.dev/pull/8087).
`codemod@latest` is no longer able to run the codemod recipe correctly
### Summary ### Description The below code example on the page https://react.dev/learn/adding-interactivity is deployed correctly when I build the project using vite. However, when I try to deploy the same...
remove unused import in scripts add [eslint-plugin-unused-imports](https://www.npmjs.com/package/eslint-plugin-unused-imports)
### Problem The sidebar on the React documentation had a fixed width, causing it to overlap the main article content on certain screen sizes. ### Solution Changed the sidebar's CSS...
I think it's good to say this explicitly. Lifted it from https://github.com/reactjs/react.dev/pull/8071. Also driveby style nit
### Summary https://react.dev/reference/eslint-plugin-react-hooks says: > Starting in version 6.0, these rules are available to opt-in: > ... According to that page only `exhaustive-deps` and `rules-of-hooks` are recommended. But if you...
### Summary Sometime this afternoon, the page for `useLayoutEffect`: https://react.dev/reference/react/useLayoutEffect broke with: > Application error: a client-side exception has occurred (see the browser console for more information). ### Page https://react.dev/reference/react/useLayoutEffect...