react.dev
react.dev copied to clipboard
The React documentation website
### Summary The explanation in Challenge 2 (Cache a calculation without Effects) of You Might Not Need an Effect is confusing and somewhat misleading. The challenge suggests that replacing the...
### Summary All example codes preview is broken. Probably bun missing package error. According to https://bun.com/docs/runtime/nodejs-compat#node%3Acrypto has crypto compabilt on it. Maybe not using correct version of Bun. ### Page...
## Summary Fixes the reversed "Previous" and "Next" navigation links on blog posts. ## Problem - "Previous" was pointing to newer posts - "Next" was pointing to older posts This...
## Summary Adds a note to the `useContext` documentation page informing developers that `use` is preferred over `useContext` because it is more flexible. ## Details This change addresses issue #7723...
Hi there! I have been reflecting on what React 18 concurrent mode means for instantiation and disposal of objects returning state. So something you could do before React 18 and...
This PR fixes minor documentation issues in the `/src/content/` folder: - Corrected possessive typo `"it's"` → `"its"` in `sunsetting-create-react-app.md` and `react-labs-view-transitions-activity-and-more.md` - Fixed typo `"inital mount"` → `"initial mount"` in...
This PR fixes minor documentation issues in the `/src/content/` folder: - Corrected possessive typo `"it's"` → `"its"` in `typescript.md` - Updated outdated HTTP links → HTTPS in `conferences.md` and `data-fetching-with-react-server-components.md`...
This PR aims to fix the references used in the documentation between Node.js and Web Streams. There are cases where we are referring to API name which doesn't exist or...
### Summary The tutorial's **Why immutability is important** section doesn't clearly state that mutating state causes unreliable re-rendering behavior. ### Page https://react.dev/learn/tutorial-tic-tac-toe#why-immutability-is-important ### Details While following the tic-tac-toe tutorial, I...
### Summary https://react.dev/learn/referencing-values-with-refs#fix-debouncing --> Solution --> Try provided solution: Only the last button handler fires after debouncing. ### Page https://react.dev/learn/referencing-values-with-refs#fix-debouncing ### Details https://react.dev/learn/referencing-values-with-refs#fix-debouncing --> Solution --> Try provided solution: Only...