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 @ 31895292 #460

Closed
wants to merge 37 commits into from
Closed

Commits on May 30, 2023

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

Commits on May 31, 2023

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

Commits on Jun 2, 2023

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

Commits on Jun 5, 2023

  1. Fix(github-actions): Update gh-actions dependencies to versions that …

    …utilize Node.js v16 (#6084)
    
    * Update site_lint.yml
    
    * Update site_lint.yml
    AhmedBaset authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    8313857 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2023

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

Commits on Jun 9, 2023

  1. Fix incorrect inner component reference (#6044)

    The inner component is `EditForm`, not `EditContact`.
    tdd authored Jun 9, 2023
    Configuration menu
    Copy the full SHA
    9a1e1c6 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. fix: broken link (#6115)

    yuta-ike authored Jun 26, 2023
    Configuration menu
    Copy the full SHA
    f5ffb3f View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. Add basic reference pages for use client and server (#5976)

    * Add basic reference pages for use client and server
    
    I guess this turned into a bit more of an FAQ but I think it's useful to have this written down in a canonical place.
    
    * Oops, push final tweaks
    sophiebits authored Jun 30, 2023
    Configuration menu
    Copy the full SHA
    292534e View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2023

  1. update link to fault tolerance blog post (#6142)

    this is the canonical link now 🫡
    aweary authored Jul 10, 2023
    Configuration menu
    Copy the full SHA
    a30e1f9 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

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

Commits on Jul 24, 2023

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

Commits on Jul 25, 2023

  1. Configuration menu
    Copy the full SHA
    cf4ad19 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a132d8f View commit details
    Browse the repository at this point in the history
  3. Fix "onFocus" description (#6168)

    The "onFocus" is fired when an element receives focus, not loses.
    smikitky authored Jul 25, 2023
    Configuration menu
    Copy the full SHA
    6ebe2dd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    39b9692 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b452e7b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    505f651 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    19c0fe2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a472775 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. Fix homepage title (#5838)

    * Fix homepage title
    
    Fixed homepage title bug, now the homepage will display the title from `content/index.md` instead of the constant `React`.
    
    * Update index.md
    
    Change title to "React" to keep same
    daochouwangu authored Aug 7, 2023
    Configuration menu
    Copy the full SHA
    cd13b52 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. Adds a TypeScript overview page (#6120)

    * Start of the typescript page
    
    * Intro
    
    * Intro
    
    * Use State
    
    * Use Reducer
    
    * Start of context
    
    * Use Ref
    
    * Events
    
    * Wrap up 1st draft
    
    * Better titles
    
    * Apply suggestions from code review
    
    Co-authored-by: Tom Sherman <[email protected]>
    Co-authored-by: Lenz Weber-Tronic <[email protected]>
    
    * Note types/react and types/react-dom, and tone down the usecontext null check
    
    * Feedback
    
    * Given a 2nd run through of the doc
    
    * Apply suggestions from code review
    
    Co-authored-by: Ricky <[email protected]>
    
    * Document where `State` is coming from
    
    * Link what inferred types are
    
    * Remove "knock-on"
    
    We already say "cause" which makes "knock-on" a bit redundant
    
    * Move useRef TS usage to useRef reference page
    
    dropped useEffect since there's nothing specific about this hook.
    
    * Add installation section
    
    * Link to framework specific guides
    
    * Edits
    
    * Edit footer
    
    * Rm useRef docs
    
    ---------
    
    Co-authored-by: Tom Sherman <[email protected]>
    Co-authored-by: Lenz Weber-Tronic <[email protected]>
    Co-authored-by: Ricky <[email protected]>
    Co-authored-by: Sebastian Silbermann <[email protected]>
    5 people authored Aug 9, 2023
    Configuration menu
    Copy the full SHA
    f82f392 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Configuration menu
    Copy the full SHA
    c60bcac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    03c2e96 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fcc639b View commit details
    Browse the repository at this point in the history
  4. Add UI for canary releases (#6173)

    * [WIP] Add UI for canary releases
    
    * yellow
    
    * Switch to icon and gray
    
    * Wording, alignment, and rm flex
    
    * Heading alignment
    rickhanlonii authored Aug 10, 2023
    Configuration menu
    Copy the full SHA
    ae06008 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    22d9878 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. remove Bad grammar in react.dev tictactoe documentation (#6126)

    * change docs
    
    * add docs for create react app
    
    * remove
    
    * Update src/content/learn/tutorial-tic-tac-toe.md
    
    ---------
    
    Co-authored-by: Ricky <[email protected]>
    DIWAKARKASHYAP and rickhanlonii authored Aug 11, 2023
    Configuration menu
    Copy the full SHA
    02c0067 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a86663d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b1a5b7b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2bfa544 View commit details
    Browse the repository at this point in the history
  5. fix: remove Hong Kong from choosing-the-state-structure (#5957)

    * fix: remove Hong Kong from choosing-the-state-structure
    
    closes Improper examples #5955
    
    * change boolean style for rendering
    umairraza96 authored Aug 11, 2023
    Configuration menu
    Copy the full SHA
    79560d6 View commit details
    Browse the repository at this point in the history
  6. RTL Languages Support (#6138)

    * Update TailwindCSS & Install rtl-detect
    1- Update TailwindCSS to use the logical properities such as `ps-1` instead of `pl-1`.
    there are logical properities for margin, padding, inset, and text direction.
    
    2- Install `rtl-detect` detect if the language is RTL direction.
    Note: this might be uninstalled if we use the manual way to specify rtl language.
    
    * add `siteConfig.isRTL`
    
    * add `dir` attribute to the root element
    
    * edit some tw classes to utilize logical properties
    instead of directions properties
    (e.g. `pr-0` to `pe-0`)
    
    * edit some tw classes to utilize logical properties
    instead of directions properties
    (e.g. `pr-0` to `pe-0`)
    
    * edit some tw classes to utilize logical properties
    instead of directions properties
    (e.g. `pr-0` to `pe-0`)
    
    * edit some tw classes to utilize logical properties
    instead of directions properties
    (e.g. `pr-0` to `pe-0`)
    
    * Refactor TW classes: Use logical properties over directional properties.
    
    * Revert "Refactor TW classes: Use logical properties over directional properties."
    
    This reverts commit df9620d944d9a47c5394b26fe4e3536ba3031333.
    
    * Refactor TW classes: Use logical properties over directional properties.
    
    * Refactor TW classes: Use logical properties over directional properties.
    
    * Refactor TW classes: Use logical properties over directional properties.
    
    * Add `start` and `end` directions to the `IconNavArrow`
    
    * Add Note about `isRTL` prop
    
    * Refactor TW classes: Use logical properties over directional properties.
    
    * Refactor TW classes: Use logical properties over directional properties.
    
    * Refactor TW classes: use logical properties over directional properties
    
    * Refactor TW classes: use logical properties over directional properties
    
    * Refactor TW classes: use logical properties over directional properties
    
    * set dir attr of `CodeBlock` to `ltr` even the page dir is `rtl`
    
    * Refactor TW classes: use logical properties over directional properties
    
    * Refactor TW classes: use logical properties over directional properties
    
    * Add `start` and `end` directions to some icons
    
    * Refactor TW classes: use logical properties over directional properties
    
    * Refactor TW classes: use logical properties over directional properties
    
    * Refactor TW classes: use logical properties over directional properties
    
    * Refactor TW classes: use logical properties over directional properties
    
    * set dir attr of `ConsoleBlock` to `ltr` to overwrite the dir of root element
    
    * Refactor TW classes: use logical properties over directional properties
    
    * set dir=ltr on inline code blocks to overwrite <html dir="rtl"> in some languages
    
    * Refactor TW classes: use logical properties over directional properties
    
    * Refactor TW classes: use logical properties over directional properties
    
    * Refactor TW classes: use logical properties over directional properties
    
    * Refactor TW classes: use logical properties over directional properties
    
    * set translate=no, dir=ltr on `TerminalBlock` to overwrite <html dir="rtl"> in rtl languages
    
    * Refactor TW classes: use logical properties over directional properties
    
    * Refactor TW classes: use logical properties over directional properties
    
    * Refactor TW classes: use logical properties over directional properties
    
    * fix some direction styles
    
    * fix arrow directions in rtl
    
    * remove `rtl-detect` and set `siteConfig.isRTL` manually
    
    * fix `Breadcrumbs`'s arrow direction in rtl languages
    
    * fix some directions of the search modal for RTL languages
    
    * hard setting dir=ltr to Sandpack to overwrite rtl languages dir
    
    * Refactor TW classes: use logical properties over directional properties
    
    * remove my notes
    
    * fix: rerverse space-x-* in rtl
    
    * rebase with the main branch
    
    * remove unnecessary alt
    
    * add `start` & `end` display directions to the Chevron Icon
    
    * rebase with the main branch
    AhmedBaset authored Aug 11, 2023
    Configuration menu
    Copy the full SHA
    819518c View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Annex to #6138 (#6226)

    * fix: wronge styles when applying RTL 
    
    it was `top-0 left-0 ...` by wrong I made it `inset-x-0`.
    
    * fix wrong styles
    
    * fix wrong styles
    
    * style canary icon with RTL-friendly styles
    
    * chore: utilize mx-* instead of me-* & ms-*
    
    * utilize relative styles
    
    * chore: use mx-* instead of me-* & ms-*
    
    * style canary icon with RTL-frindly styles
    
    * Update OpenInTypeScriptPlayground.tsx
    AhmedBaset authored Aug 15, 2023
    Configuration menu
    Copy the full SHA
    6b61cd4 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

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

Commits on Aug 21, 2023

  1. Clarify these features are not related to Next (#6229)

    Co-authored-by: Luna Wei <[email protected]>
    lunaleaps and Luna Wei authored Aug 21, 2023
    Configuration menu
    Copy the full SHA
    f67811b View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. Add React Native EU 2023 to the conferences page (#6254)

    React attends this conference hosted by Callstack. It's been on the page in previous years, missed it this year.
    
    https://www.react-native.eu/
    elicwhite authored Aug 23, 2023
    Configuration menu
    Copy the full SHA
    3189529 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

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