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

The React documentation website

Results 680 react.dev issues
Sort by recently updated
recently updated
newest added
trafficstars

#### As per docs ``` const [state, dispatch] = useReducer(reducer,initData); return ( {children} ) ``` as we separated `state` and `dispatch` now we can be sure that the component using...

PR for #5582 - increased height of menu to account for the height of the beta.react.js banner Small Screen (~650px) ![Screen Shot 2023-02-14 at 9 52 57 PM](https://user-images.githubusercontent.com/84363010/218915152-6beaa496-1ef9-43d6-ae71-9bad69a069e1.png) Medium Screen...

CLA Signed

Hi, I could be wrong, but I think one of the `ChatRoom` examples for `useEffect` is missing an argument. If you check out [this sandbox](https://codesandbox.io/s/b07ov3?file=/App.js&utm_medium=sandpack), it seems like the *setup*...

CLA Signed
beta

Hi, I was looking at [basic useReducer examples](https://beta.reactjs.org/reference/react/useReducer#examples-basic) in the beta version of React docs and am wondering if there's TypeScript version of them. In my opinion, it would be...

### Issue Hi, I have noticed an issue with the sidebar section on the desktop screen. The `FAQ` menu contains two items(Versioning Policy and Virtual DOM and Internals) that are...

#5588 In beta docs, the sidebar overlaps the content when min-width of screen is 1024px. This happens on Firefox only. Added a conditional media query depending on browser.

CLA Signed
beta

Preview: - [single-file snippet](https://beta-reactjs-org-git-fork-eps1lon-typescript-demos-fbopensource.vercel.app/learn/keeping-components-pure#purity-components-as-formulas) - [multi-file snippet](https://beta-reactjs-org-git-fork-eps1lon-typescript-demos-fbopensource.vercel.app/learn/describing-the-ui#importing-and-exporting-components) The selected "target language" (JS or TS) is selected globally and defaults to TS. It's not persisted at the moment but should be...

CLA Signed
react core team
beta

There is no mention of how state updates in async functions. For example, how does state update if event handler is an async function.