Sync with react.dev @ e22544e6 by react-translations-bot · Pull Request #116 · reactjs/ml.react.dev
and others added 30 commits
February 14, 2025 13:40* fix(docs): webpack branding states it should be lower case * chore: fix more occurrences --------- Co-authored-by: Strek <ssharishkumar@gmail.com>
* [Blog + Docs] Updates from feedback * Merge in changes from #7618 Co-authored-by: Mark Erikson <mark@isquaredsoftware.com> * Say the words "Vite", "Parcel", and "Rsbuild" * Tweaks from feedback * re-apply #7615 * merge in #7622 Co-authored-by: elitalpa <elitalpa@gmail.com> --------- Co-authored-by: Mark Erikson <mark@isquaredsoftware.com> Co-authored-by: elitalpa <elitalpa@gmail.com>
* Update nextjs link with the latest URL The previous link redirected users to a 404 page. * Update src/content/reference/react/useDeferredValue.md --------- Co-authored-by: Ricky <rickhanlonii@gmail.com>
* Update input.md Fix typo about input * Update src/content/reference/react-dom/components/input.md --------- Co-authored-by: Ricky <rickhanlonii@gmail.com>
* clarify alert message behavior in issue #7494 Reworded the explanation regarding the alert message in the documentation to better describe its behavior. The alert shows the previously entered name, with an initial value set to an empty string. * Update src/content/learn/state-a-components-memory.md * Update src/content/learn/state-a-components-memory.md --------- Co-authored-by: Ricky <rickhanlonii@gmail.com>
This is the exact same fix as #6422 as the example is duplicated between the useOptimistic and <form> pages.
* Update index.md Invalid link to bluesky account * Update index.md Fixed invalid bluesky link for react.dev
* clarify SRP definition * Update src/content/learn/thinking-in-react.md --------- Co-authored-by: Ricky <rickhanlonii@gmail.com>
* fix: correct link for RedwoodJS to RedwoodSDK in documentation * fix: update links for React Query and TanStack Start in documentation * fix: update Vite installation command to use TypeScript template * fix: update references from React Query to TanStack Query in documentation
Fixes #8097 The refactored example in the "Chains of computations" section uses an incorrect condition that changes the game logic from the original. The original Effect-based code advances the round after 4 gold cards: - Increments first (0→1, 1→2, 2→3, 3→4) - Then checks `goldCardCount > 3` (true when count is 4) The refactored code with `goldCardCount <= 3` allows 5 gold cards: - Checks before incrementing - Allows counts 0, 1, 2, 3 to increment (4 values) - Advances on the 5th card (when count is 4) This fix changes the condition to `goldCardCount < 3`: - Allows counts 0, 1, 2 to increment (3 values) - Advances on the 4th card (when count is 3) - Matches the original behavior Verified by tracing execution logic and building the docs site locally. Co-authored-by: PaulyBearCoding <PaulyBearCoding@users.noreply.github.com>
…ave-dev` to `—save-dev`) (#8146) * Skip smartypants on TerminalBlock * Improve TerminalBlock HTML tags * Remove unnecessary TerminalBlock escapes from docs * Bump DISK_CACHE_BREAKER
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters