Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with react.dev @ b7bf6c16 #468

Closed
wants to merge 87 commits into from
Closed

Commits on Feb 26, 2024

  1. Revert "fix(sandpack): clear up bundler timeout when there's a syntax…

    … error (…" (#6663)
    
    This reverts commit 081d100.
    harish-sethuraman authored Feb 26, 2024
    Configuration menu
    Copy the full SHA
    9ceb057 View commit details
    Browse the repository at this point in the history
  2. Update Dan's twitter link

    gaearon authored Feb 26, 2024
    Configuration menu
    Copy the full SHA
    41b1bb3 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. fix: Update @codesandbox/sandpack-react version to 2.13.4 (#6664)

    * fix: Update @codesandbox/sandpack-react version to 2.13.3
    
    * fix: Fixed bundlerURL  to use the correct URL
    
    * fix: Update @codesandbox/sandpack-react to version 2.13.4
    
    * style: Hide span element in sp-icon-standalone when loading
    danilowoz authored Feb 27, 2024
    Configuration menu
    Copy the full SHA
    6d8e094 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    6e650f9 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Add /link redirects (#6670)

    * Add /link redirects
    
    * Update event pooling redirect
    rickhanlonii authored Mar 1, 2024
    Configuration menu
    Copy the full SHA
    6310c8a View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2024

  1. Update small typo in useDeferredValue.md (#6673)

    * Update useDeferredValue.md
    
    change text from "re-render in background" to "re-render in the background"
    
    * Update useDeferredValue.md
    
    Change instances of "in background" to "in the background".
    ninjaPixel authored Mar 3, 2024
    Configuration menu
    Copy the full SHA
    265fa26 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Configuration menu
    Copy the full SHA
    716e889 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Configuration menu
    Copy the full SHA
    5de8519 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. Configuration menu
    Copy the full SHA
    aa31fe5 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. Remove links to localhost (#6696)

    It seems like these localhost references were being stripped out anyway,
    so this isn't a bugfix but just a small cleanup.
    poteto authored Mar 14, 2024
    Configuration menu
    Copy the full SHA
    1a839ff View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Add initial Rules of React docs (#6680)

    This PR adds a new Rules of React reference section that covers the major rules that help developers author idiomatic React apps.
    
    ---------
    
    Co-authored-by: Sathya Gunasekaran <[email protected]>
    poteto and gsathya authored Mar 15, 2024
    Configuration menu
    Copy the full SHA
    0dc1b31 View commit details
    Browse the repository at this point in the history
  2. Reorder rules of react summary in reference index (#6698)

    Small change to match the sidebar order.
    poteto authored Mar 15, 2024
    Configuration menu
    Copy the full SHA
    f55d948 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Fix typos in typescript.md (#6439)

    Co-authored-by: Sebastian Silbermann <[email protected]>
    Co-authored-by: Allison Strandberg <[email protected]>
    3 people authored Mar 19, 2024
    Configuration menu
    Copy the full SHA
    ef3a7ea View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

  1. Configuration menu
    Copy the full SHA
    5a45b53 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9c04f9b View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2024

  1. Fix missing id properties in docs example (#6395)

    This example contains a list of person objects, but only the first 3 have id properties. This appears to be a mistake; in the next use of the list all 5 person objects have this property, but it is not changed as part of an instructive exercise.
    
    This change makes the final two with objects consistent with the remainder of the list.
    jpayoung authored Mar 24, 2024
    Configuration menu
    Copy the full SHA
    7bdbab1 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. Configuration menu
    Copy the full SHA
    d661678 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. Configuration menu
    Copy the full SHA
    4df3124 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2aa9594 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. Configuration menu
    Copy the full SHA
    9b4de7c View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2024

  1. Configuration menu
    Copy the full SHA
    6436bd9 View commit details
    Browse the repository at this point in the history
  2. chore: fix typos (#6723)

    `an text area` -> `a text area`
    `an discussion` -> `a discussion`
    ahmoin authored Mar 29, 2024
    Configuration menu
    Copy the full SHA
    3076795 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2024

  1. Update Node.js version in engines into package.json file (^21.0.0) (#…

    …6728)
    
    Signed-off-by: Faridul Islam <[email protected]>
    foridpathan authored Mar 31, 2024
    Configuration menu
    Copy the full SHA
    9748943 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Fix inconsistent link underline on hover (#6731)

    Noticed this randomly and couldn't unsee it, so here's a quick PR to
    fix.
    poteto authored Apr 2, 2024
    Configuration menu
    Copy the full SHA
    712556c View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

  1. Configuration menu
    Copy the full SHA
    93177e6 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Configuration menu
    Copy the full SHA
    a7103d8 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. Fixes #6693: fixes search functionality on iOS devices (#6743)

    * change isOpen variable in TopNav component to isMenuOpen to differentiate from isOpen props in Search component
    
    change setIsOpen to setIsMenuOpen in TopNav component
    
    * move initialization of ShowSearch state to top-level of TopNav component
    
    organize hook initializations in TopNav component: useState, useRef, useRouter
    
    * remove initialYScroll prop from DocSearchModal component to fix search functionality on ios devices
    ramizackaryshamir authored Apr 10, 2024
    Configuration menu
    Copy the full SHA
    11a7479 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    342fddb View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Add docs for onCaughtError and onUncaughtError (#6742)

    * Add docs for onCaughtError and onUncaughtError
    
    * Updates from feedback
    rickhanlonii authored Apr 11, 2024
    Configuration menu
    Copy the full SHA
    db2dc7f View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Configuration menu
    Copy the full SHA
    2749eb4 View commit details
    Browse the repository at this point in the history
  2. [easy] remove unused ref in ExpandableCallout.tsx (#6755)

    Note that this component is not actually expandable and the ref got likely unused when that was removed
    kassens authored Apr 15, 2024
    Configuration menu
    Copy the full SHA
    56ca8f1 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. fix issue #6734 (#6735)

    * in \[errorCode\].tsx, wrapped parsedContent in a div and applied styling of white-space: pre-wrap to preserve whitespace and break on newline chars
    
    * updated styling to tailwind class
    wheeler6123 authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    c2180a3 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. Update SocialBanner.tsx (#6763)

    Tickets are sold out, update the text.
    kassens authored Apr 19, 2024
    Configuration menu
    Copy the full SHA
    37a8d64 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. API docs for useDeferredValue's initialValue (#6747)

    * API docs for useDeferredValue's initialValue
    
    Updates the API docs for `useDeferredValue` to include the
    `initialValue` option, added in
    facebook/react#27500.
    
    This feature is slated for release in React 19.
    
    * Add docs for onCaughtError and onUncaughtError (#6742)
    
    * Add docs for onCaughtError and onUncaughtError
    
    * Updates from feedback
    
    * Add canary info, simplify a bit
    
    ---------
    
    Co-authored-by: Ricky <[email protected]>
    acdlite and rickhanlonii authored Apr 22, 2024
    Configuration menu
    Copy the full SHA
    07cbd00 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Configuration menu
    Copy the full SHA
    f8afd94 View commit details
    Browse the repository at this point in the history
  2. Add documentation for ref cleanup functions (#6770)

    * Add documentation for ref cleanup functions
    
    * Contain changes within canary block
    jackpope authored Apr 24, 2024
    Configuration menu
    Copy the full SHA
    cdd2fdd View commit details
    Browse the repository at this point in the history
  3. Move use to APIs (#6774)

    kassens authored Apr 24, 2024
    Configuration menu
    Copy the full SHA
    9fb2f0d View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Rename useFormState to useActionState (#6776)

    * move useFormState api
    
    * add redirect
    
    * use React DOM as the name
    kassens authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    4f55010 View commit details
    Browse the repository at this point in the history
  2. Add blog posts for React 19 Beta (#6778)

    * Blog posts for React 19
    
    * Feedback
    
    * Feedback
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Josh Story <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Noah Lemen <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Matt Carroll <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Matt Carroll <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Noah Lemen <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Noah Lemen <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Noah Lemen <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Noah Lemen <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Matt Carroll <[email protected]>
    
    * Thanks
    
    * Apply suggestions from code review
    
    Co-authored-by: Matt Carroll <[email protected]>
    Co-authored-by: Sebastian Silbermann <[email protected]>
    
    * Feedback
    
    * nit
    
    * Issue link
    
    ---------
    
    Co-authored-by: Josh Story <[email protected]>
    Co-authored-by: Noah Lemen <[email protected]>
    Co-authored-by: Matt Carroll <[email protected]>
    Co-authored-by: Sebastian Silbermann <[email protected]>
    5 people authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    191852a View commit details
    Browse the repository at this point in the history
  3. Blog post nits (#6779)

    * Typos in React 19
    
    * Headings
    rickhanlonii authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    412b733 View commit details
    Browse the repository at this point in the history
  4. Blog typo

    rickhanlonii committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    c8a316a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0078b50 View commit details
    Browse the repository at this point in the history
  6. Fix code example in React-19 useOptimistic section (#6781)

    should assign the result of updateName
    
    Co-authored-by: Tim Neutkens <[email protected]>
    gnoff and timneutkens authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    317dcf3 View commit details
    Browse the repository at this point in the history
  7. [React19-blog]: Make use(context) example easier to understand (#6783)

    * Make use(Context) example easier to understand
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Ricky <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Ricky <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Ricky <[email protected]>
    
    * Update src/content/blog/2024/04/25/react-19.md
    
    Co-authored-by: Ricky <[email protected]>
    
    ---------
    
    Co-authored-by: Ricky <[email protected]>
    Zeko369 and rickhanlonii authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    9afcbf6 View commit details
    Browse the repository at this point in the history
  8. refines the messaging to clarify that Server Components the feature i…

    …s stable but the packages you work with as a framework and bundler will approach API stability (#6782)
    gnoff authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    9aa8e82 View commit details
    Browse the repository at this point in the history
  9. Fix react-helmet link (#6786)

    gnoff authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    cdd0964 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    526d7b4 View commit details
    Browse the repository at this point in the history
  11. Resources -> resources (#6787)

    gnoff authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    64beb65 View commit details
    Browse the repository at this point in the history
  12. Fix typos (#6788)

    Co-authored-by: Dom Zhu <[email protected]>
    dom-zhu and Dom Zhu authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    8cbed3e View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Configuration menu
    Copy the full SHA
    e09ff1c View commit details
    Browse the repository at this point in the history
  2. Better use(Promise) example in 19 blog (#6790)

    * Better use(Promise) example in 19 blog
    
    * Better use(Promise) example in 19 blog
    rickhanlonii authored Apr 26, 2024
    Configuration menu
    Copy the full SHA
    e45ac55 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    057f35c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f664028 View commit details
    Browse the repository at this point in the history
  5. Add rss feed (#6803)

    * Add rss feed
    
    * Add rss feed
    
    * rss readers don't like å characters
    rickhanlonii authored Apr 26, 2024
    Configuration menu
    Copy the full SHA
    cf53cb5 View commit details
    Browse the repository at this point in the history
  6. Update me

    poteto committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    bc1020a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    845a281 View commit details
    Browse the repository at this point in the history
  8. chore: fix typo (#6791)

    `Changlog` -> `Changelog`
    ChiaJune authored Apr 26, 2024
    Configuration menu
    Copy the full SHA
    807001c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    537bd05 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8c1c6e3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    01edd5c View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Configuration menu
    Copy the full SHA
    9c53b48 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Add versions page and nav version (#6814)

    * Add versions page and nav version
    
    * Move version to siteConfig.js
    
    * Fix typo
    
    * Set to 18.3.1, use siteConfig in reference sidebar
    
    * Redirect 18.react.dev to react.dev for now
    
    * Fix stray bullet
    rickhanlonii authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    3981ffe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    86d306f View commit details
    Browse the repository at this point in the history
  3. Fix punctuation. (#6815)

    * Update typescript.md
    
    Fix punctuation.
    
    * Update src/content/learn/typescript.md
    
    ---------
    
    Co-authored-by: Ricky <[email protected]>
    bozoputer and rickhanlonii authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    6d0aca1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e538800 View commit details
    Browse the repository at this point in the history
  5. uwu (#6817)

    rickhanlonii authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    1df378f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3dd67d1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6f5ee38 View commit details
    Browse the repository at this point in the history
  8. fix uwu flicker (#6820)

    * Try next/image
    
    * Fix styles.css
    
    * rm unneeded styles
    
    * priority=true
    
    * tweaks
    
    * Static height
    
    * tweak
    
    * priority
    rickhanlonii authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    74697fb View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. Update server-components.md - typo (#6823)

    Typo Node => Note
    mootookoi authored May 1, 2024
    Configuration menu
    Copy the full SHA
    7062b8d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bdb0d26 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0dbd67a View commit details
    Browse the repository at this point in the history
  4. Add "Languages" navigation and article (#6382)

    * Add new article "Translations"
    
    * Add "languages" button in TopNav
    
    * Add link to English (main) site
    
    * Split deployedTranslations into multiple lines
    
    * Fix build error regarding types
    
    * Address some review comments
    
    - deployedTranslations => finishedTranslations
    - showTranslated => progress
    - English fixes
    
    * Update src/content/community/translations.md
    
    Co-authored-by: Ricky <[email protected]>
    
    * Update src/content/community/translations.md
    
    ---------
    
    Co-authored-by: Ricky <[email protected]>
    smikitky and rickhanlonii authored May 1, 2024
    Configuration menu
    Copy the full SHA
    9e1f5cd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a2f8ff3 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Update uwu logo (#6827)

    Thanks to @SAWARATSUKI for updating the logo!
    poteto authored May 2, 2024
    Configuration menu
    Copy the full SHA
    a6450b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e69ec58 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Configuration menu
    Copy the full SHA
    d4a9a76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e1ff1a View commit details
    Browse the repository at this point in the history

Commits on May 5, 2024

  1. Configuration menu
    Copy the full SHA
    556063b View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Configuration menu
    Copy the full SHA
    1fa2057 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Configuration menu
    Copy the full SHA
    46437c2 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Configuration menu
    Copy the full SHA
    0b9ae66 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Fix typo on tutorial-tic-tac-toe.md (#6843)

    Change the tense of "build" to "building".
    skoryky authored May 10, 2024
    Configuration menu
    Copy the full SHA
    f1b0f86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f9b9b66 View commit details
    Browse the repository at this point in the history
  3. Update synchronizing-with-effects.md (#6856)

    * Update synchronizing-with-effects.md
    
    Currently documentation says:
    
    By default, your Effect will run after every render.
    
    Which is in contrast with another section of the same page where it says:
    
    Effects run at the end of a commit after the screen updates
    
    * Update src/content/learn/synchronizing-with-effects.md
    
    ---------
    
    Co-authored-by: Ricky <[email protected]>
    segmentationfaulter and rickhanlonii authored May 10, 2024
    Configuration menu
    Copy the full SHA
    4f1d985 View commit details
    Browse the repository at this point in the history
  4. Fix Node.js version update at package.json (#6855)

    * Fix #6854: node.js version upgrade
    
    * Fix #6854: node.js version update
    Rekl0w authored May 10, 2024
    Configuration menu
    Copy the full SHA
    b7bf6c1 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Configuration menu
    Copy the full SHA
    e66d240 View commit details
    Browse the repository at this point in the history