Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Sync with reactjs.org @ 5f3a9756 #201

Open
wants to merge 743 commits into
base: main
Choose a base branch
from
Open

Conversation

lex111 and others added 30 commits November 10, 2021 18:19
* Add git hook to generate headings ids

* Fixes "Analyze Bundle" workflow
* Allow page zooming/scaling

* Fix for iOS
* chore: fix typo

* Update referencing-values-with-refs.md

* Fix typo of typo

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
* Fix two unicode whitespaces which are invalid

* Use custom ID format that works better with MDX 2

* Fix sebastian

* remark-slug as dev dep
* fix-collapsable-color

* Made Eslint work and added next's eslint config

* Add lint:fix to pre commit rule

* Reverts older anchor links

* Fixed review comments

* Replace with spaces like before

* Update DocsFooter.tsx

* Update arrow function

* Update CodeBlock.tsx

* Update MDXComponents.tsx

* Update SidebarLink.tsx
* Add prettier before commit and during CI

* Add workflow

* Reverse merge main to branch

* dry run prettier

* dry run prettier

* [warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine

* Revert "[warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine"

This reverts commit 43dbe9ed3fba10b03a90d989cf90b4af4efd2212.

* Revert "dry run prettier"

This reverts commit b62948042cd8f8addf8ee23110de4096a8630926.

* Revert "dry run prettier"

This reverts commit 382f9a4691dee04673e461b3eda0d52c1aefda3b.

* Revert "Reverse merge main to branch"

This reverts commit 43667eaf29b9ab4266397251c8d781f611dcdcf8.

* [warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine
Adds a note to the top of the page linking to the 18 Beta announcement.
* added word break

* Update PageHeading.tsx
* Update package.json

* Update README.md

* Update package.json

* Add tsc for check-all as well

* Update README.md

* Update README.md

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Move all possible style to tailwind classes

* Update Sidebar.tsx

* fix-collapsable-color

* dry run and commit

* Update SidebarLink.tsx

* Fixes review comments for aria tags

* Remove extended tailwind configs

* Update tailwind.config.js

* Update Sidebar.tsx
* fix: correct the link to navigate to the team page

* remove .html

Co-authored-by: Strek <harish.sethuraman@freshworks.com>
bebraw and others added 27 commits April 4, 2022 17:22
Co-authored-by: David <mail.dakes@online.de>
* Edits for ReactDOMServer API

* Move note below example

* No destructure

* Rm hr

* Add onError

* Drop SEO

* Update reference-react-dom-server.md
* Add more details on batching

* Use a generic example
* Mention TypeScript in the upgrade post

* Add a link
* fix the code block for AppWithCallbackAfterRender

fix the code block for AppWithCallbackAfterRender by using createRoot method from 'react-dom/client'

* Update 2022-03-08-react-18-upgrade-guide.md

Co-authored-by: dan <dan.abramov@gmail.com>
* fix the code block for createRoot typescript error

* added example block code for typescript

* Inline example

Co-authored-by: dan <dan.abramov@gmail.com>
Co-authored-by: Oliver Williams <oliver@Olivers-MacBook-Pro.local>
Adding React Norway

Co-authored-by: CookieDuster <51830273+CookieDuster@users.noreply.github.com>
* Replaced old ReactDOM API with new React v18 API

Replaced old ReactDOM API with new React v18 API

ReactDOM.render(
  // Try changing to isLoggedIn={true}:
  <Greeting isLoggedIn={false} />,
  document.getElementById('root')
);

The above implementation has been replaced by the following implementation according to React v18. 

ReactDOM
  .createRoot(document.getElementById('root'))
  .render(<LoginControl />);

* Changed ReactDOM.createRoot syntax into two lines

```
ReactDOM
  .createRoot(document.getElementById('root'))
  .render(<LoginControl />);
```
has been changed to

```
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(<LoginControl />);
```

* Added a comment on <Greeting/> comp.
* Update more examples for 18

* blargh
@vercel
Copy link

vercel bot commented May 2, 2022

Deployment failed with the following error:

Invalid vercel.json file provided

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.