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

The React documentation website

Results 773 react.dev issues
Sort by recently updated
recently updated
newest added

The initial call of `tick` ought to have a value for the 'now' argument' passed into it here. Currently, the code does work incidentally, but it passes `undefined` into `tick`,...

CLA Signed

https://github.com/user-attachments/assets/fced4544-f701-43d3-b011-3b4e74620106 ## **Overview** This PR enhances the React documentation website's sidebar navigation by allowing users to toggle dropdowns when clicking an already-selected item. This improves overall navigation usability and aligns...

CLA Signed

When a user selects a sidebar item with nested routes, the dropdown expands as expected. However, clicking the same selected item again does nothing, even though users naturally expect it...

This update fixes the TravelPlan example in “Choosing the State Structure” so that deleting a place now behaves correctly and cleans up all related data. When the last child of...

CLA Signed

### Summary The alternative way to configure react-compiler with Vitejs, which is to declare the Babel configuration separately, doesn't actually work. ### Page https://react.dev/learn/react-compiler/installation#vite ### Details Note that I'm talking...

type: typos

This link - https://facebook.github.io/react/docs/test-utils.html not working from below page https://www.npmjs.com/package/react-addons-test-utils

This PR adds a new subsection **"How React Handles HTML Attributes"** to `src/content/learn/writing-markup-with-jsx.md`. It documents: - JSX vs HTML attribute name differences (`className`, `htmlFor`) - boolean attributes - inline style...

CLA Signed

This 🐣 PR updates the second example on [react.dev/reference/react/act](https://react.dev/reference/react/act) to use an async callback with `act()` + fix an alignment issue with another sample Although the example currently uses a...

CLA Signed

### Summary I learned a lot from this example. After understanding it more deeply, I discovered that if a child item is the only child of its parent item, the...

type: documentation

### Summary The docs on React Suspense include examples that lead to data leakage when used in Next.js. The issue is that the cache map is constructed globally, which will...

type: typos