react.dev
react.dev copied to clipboard
The React documentation website
fixes: #6881 Added some additional information and context for better understanding
### Summary The React team (seems to?) prefer that new React suggestions be submitted through https://github.com/reactjs/rfcs/, rather than through GitHub issues. That's totally reasonable, given the massive firehose of feedback...
Fixes #6924 ### Description This pull request addresses issue #6924 where the application fails to load images from placekitten.com. The issue was caused by incorrect URL formatting and missing error...
fixed #7002 fixed typo in metadata component documentation
Changed "Change the state structure to support multiple selection" to "Change the state structure to support multiple selection`s`" for improved clarity. If the original singular is preferred, (i.e. "selection"), then...
The Board component returns the Square component statically. This could instead be returned dynamically using the map method. Styling: we'll use CSS Grid to layout the board more efficiently. This...
### Summary I believe there's a good scope to improve the code in the Tic-Tac-Toe example [here](https://react.dev/learn/tutorial-tic-tac-toe). ### Page https://react.dev/learn/tutorial-tic-tac-toe ### Details - The `Board` component returns the `Square` component...
### Summary The example is very bad. ### Page https://react.dev/reference/react/useRef#avoiding-recreating-the-ref-contents ### Details The solution how to avoid this pitfall doesn't seem very robust. If for any reason you wanted to...
### Summary The [sandbox](https://codesandbox.io/s/j67kkz?file=/src/App.js) when installed locally, npm throws warning about **154** vulnerabilities. ``` 154 vulnerabilities (1 low, 86 moderate, 62 high, 5 critical) ``` ### Page https://react.dev/learn/tutorial-tic-tac-toe#setup-for-the-tutorial ### Details...