react.dev
react.dev copied to clipboard
The React documentation website
### Description In the sentence "Sometimes `this` isn't enough" it is not clear what "this" refers to. It it refers to the Event handling bullet point, then it should be...
I'm using: - "react": "^18.2.0", - "vite": "^4.1.0", I need to know a component's name inside the component, or inside the module where the component is defined. The reason I...
I noticed that the final code example in the Passing Props to a Component section of the beta documents is using a bold tag for the titles that are rendered...
Testing section currently provides information on how to test components by fully-mocking the render surface (JSDOM) - adding content around new options for visual component testing provided by Cypress which...
Please improve the readme file, the steps to run and install the repo locally are not clear. I cannot get how do I install it on my system.
Looking at https://reactjs.org/docs/hooks-reference.html#useid or https://beta.reactjs.org/reference/react/useId , I expect to see something indicating that `useId` was added in React 18. But I only see that stated at https://reactjs.org/blog/2022/03/29/react-v18.html . I expect...
```javascript // I must use this method or I will get the error // Cannot read properties of undefined (reading 'jsx') window.jsxRuntime = { jsx: React.createElement } // ... ```...
### Current state: The link on "**_render props_**" and "**_any prop that is a function that a component uses to know what to render is technically a “render prop"_** "...