react.dev
react.dev copied to clipboard
The React documentation website
### Summary createPortal documentation redirect us to the wrong W3C guideline page (old page). ### Page https://react.dev/reference/react-dom/createPortal#usage ### Details The [createPortal documentation](https://react.dev/reference/react-dom/createPortal#usage) (Pitfall section) has a link that points to...
### Summary ### userAgent ``` # navigator.userAgent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 ``` ### screen sizes * height: 824 * width: 1445...
### Summary In some cases, React documentation suggests using a chain of useEffect hooks to manage state updates when synchronizing with network requests. However, it is also possible to handle...
Replaced filePath.split('/').slice(-1).join('') with path.basename(filePath) to correctly extract the file name from the file path. This ensures the code works correctly on all operating systems, including Windows, macOS, and Unix-like systems,...
## Summary  - resolves #5797 ## Changes ### Added Vite in `Intro` ### Added `Quickstart React Development with Vite` section at the top of page ### Renamed `Can I...
I raise this PR for the smooth the React.js app in-page navigation, when we navigating through the side in-page navigation that time scroll behavior is auto so I smooth that...
### Summary When I search for something that returns no results (e.g. "$" or "displayName"), the search shows a "Let us know" call to action:  This links to Algolia...
Events are missing https://react.dev/docs/events.html