Updated dependencies to fix Next.js and React CVE vulnerabilities.
The fix-react2shell-next tool automatically updated the following packages to their secure versions:
- next
- react-server-dom-webpack
- react-server-dom-parcel
- react-server-dom-turbopack
All package.json files have been scanned and vulnerable versions have been patched to the correct fixed versions based on the official React advisory.
Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
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>
* 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
Suggestion: Link to /reference/react/hooks rather than /reference/react. The preceding sentence refers to “If you are looking for Hooks that are supported in web browsers *and other environments* see [the React Hooks page](/reference/react/hooks). This page lists all the Hooks in the `react-dom` package.” which matches the React Hooks page better.
* Fix Server Components link text to match target section heading
Change "React Server Components" to "Full-stack frameworks" in the
server-components.md link text to accurately reflect the destination
section heading
* Remove unnecessary RSC tags from Server Components documentation