react.dev
react.dev copied to clipboard
The React documentation website
Refactored the markup structure of the HomeContent component to improve code organization and readability. Additionally, enhanced accessibility by ensuring proper ARIA attributes and providing clear and descriptive labels. ### Before:...
In the _"Start a New React Project"_ section of the docs, Vite (and Parcel) are currently mentioned at the bottom of a collapsible toggle _"Can I use React without a...
> This is a subtle distinction but a powerful one. Since you don’t call that component function but let React call it, it means React has the power to delay...
I'm just finding out that synthetic clicks (isTrusted: false) are now allowed in react, please from what version was this implemented, what was the reason for the change and lastly...
Remove GatsbyJS as it's no longer being maintained from what we can see
I've been going through the react.dev docs and noticed that they feel sluggish: https://github.com/reactjs/react.dev/assets/513444/0679274a-9325-4975-afea-b7e5315cffc2 I still see a little bit of flickering on Chrome, but I wouldn't consider it problematic...
I removed the `setTheme`, which was an unused prop. this part 👀 [useContext Example 4of 5](https://react.dev/reference/react/useContext#extracting-providers-to-a-component)
In the [hydrateRoot page](https://react.dev/reference/react-dom/client/hydrateRoot#handling-different-client-and-server-content), it is mentioned that "This way the initial render pass will render the same content as the server, avoiding mismatches, but an additional pass will happen...
From the documentation it follows that it is unnecessary to use state and effect for data transformation, it may be necessary to describe an example when the transformation will block...
- Add Caveats section to useOptimistic page - Add demo to optimistically update the UI while waiting for a network request https://github.com/reactjs/react.dev/assets/20743223/59a1c097-3630-433b-b9f2-4f1f8c1b0955