react.dev
react.dev copied to clipboard
The React documentation website
When I read this part from [react.dev](https://react.dev/learn/managing-state#scaling-up-with-reducer-and-context), I found some unused imports and args, so I remove them to make it clear.
Follow-up to https://github.com/reactjs/react.dev/pull/6457
**Issue**: On every re-render useEffect is getting called. It's not the same behaviour as we had without the custom hook. **Ref**: https://react.dev/reference/react/useEffect#connecting-to-an-external-system -> Listening to global browser event. **Fix**: As...
In example 2 of 3 of [Wrapping Effects in Custom Hooks](https://react.dev/reference/react/useEffect#wrapping-effects-in-custom-hooks), the `useEffect` is called per render and isn't the same as before.
The privacy policy link in footer points to https://opensource.facebook.com/legal/privacy however the link is redirected to the domain https://opensource.fb.com/legal/privacy/ My simple PR adjusts this.
We get a lot of feedback that getDerivedStateFromProps is used for memoization which is not very ergonomic. Let’s add a recipe about memoizing directly to the docs. https://twitter.com/brian_d_vaughn/status/987443099537309696?s=20 We should...
**Note** this issue has some overlap with FAQ section issue #29. We revamped the docs, but there are a few guides that are missing and that I think are essential....
Fix of issue : #6460 Issue was happening at : https://react.dev/reference/react/startTransition  Fix : Each text link in the footer button was overflowing with large link-text ....
Updating to [CodePen's official documented format](https://blog.codepen.io/documentation/templates/#api) for starting Pens with prefilled content. There is also [a Prefill API](https://blog.codepen.io/documentation/prefill/), but that requires a POST, so this URL format is easier to...
Hi Guys, I wanted to start contributing to React, so I wrote in the search input "How to contribute...". I discovered that on `react.dev`, there is no page showed in...