react.dev
react.dev copied to clipboard
The React documentation website
fixes: scrollbar on the sidebar not clickable with the mouse - now made clickable , issue no : #6604
This is the fix for the issue no : #6604 The "main" was hiding the "scrollbar of the sidebar". So to fix this, I just added margin-left as 1.2 rem...
Hi, new react docs are great. I had a question about the sample code in [Scaling Up with Reducer and Context](https://beta.reactjs.org/learn/scaling-up-with-reducer-and-context). I hope this is a reasonable way to provide...
This PR removes deadcode in the Link Component when the Link component contains a `` element. As seen in this [example](https://react.dev/reference/react-dom/components/input). --- In the `modifiedChildren` array here https://github.com/reactjs/react.dev/blob/6ca0381a0762f1de4a49052700723664e92db030/src/components/MDX/Link.tsx#L19-L26 The `if`...
### Summary Add an explanation text to prevent missunderstanding of usage useContext with useMemo. ### Page https://react.dev/reference/react/useContext#optimizing-re-renders-when-passing-objects-and-functions ### Details I think it would be helpful to have an explanation text...
Fixes #6506 Not sure if this is actually needed, but its a small docs enhancement for people using Next.js
This is a draft PR for the outline shared here: https://docs.google.com/document/d/1rQVqqBI7KXVRQjValsCXqsEFqmGQ6h4fWdFAQ9X0d7o/edit?usp=sharing (TODO: put this up accessible somewhere. Outline of Changes * New Rendering Data chapter * Fetching Data: https://react-dev-git-fork-lunaleaps-learn-rsc-fbopensource.vercel.app/learn/fetching-data *...
`ArrayBuffer` is not supported yet as an argument to Server Actions. Its support is part of https://github.com/facebook/react/issues/25687. Closes https://github.com/facebook/react/issues/27931
### Why this PR? The documentation for contributing to React is pretty out of date and still lives on the legacy React docs site - which makes it harder for...