Dan Abramov
e46b02f40b
Tweak captions
3 years ago
dan
70312ab780
[Beta] Delete dead code ( #4637 )
3 years ago
dan
468f158a7d
[Beta] Stylistic nits ( #4636 )
3 years ago
dan
dad1c0d667
[Beta] Edits for Installation ( #4635 )
3 years ago
dan
788986c14f
[Beta] Update sandboxes to use 18 ( #4634 )
3 years ago
Jie Peng
dfe5080e2b
fix(reference-react): typo ( #4631 )
Signed-off-by: Jie Peng <im@jiepeng.me>
3 years ago
Sathvik Shanmugam
e34f5145e9
Tutorial markdown changes for React18 ( #4630 )
* Changing the markdown - Initial commit
* Adding the missing instruction to copy the JS and CSS from starter code
* reverting the extra text added
3 years ago
Irakli Dautashvili
d27c1e4c6e
fix useref: small typo in the code snipped ( #4627 )
3 years ago
Sebastian Silbermann
3411c0d0c4
Explicitly list what methods are included in unmounting and remounting ( #4618 )
* Explicitly list what methods are included in unmounting and remounting
* Move up
3 years ago
Matías Aguilera
5f3a9756e0
Fix variable name to match example ( #4615 )
3 years ago
lxmarinkovic
09f8bcc4c5
RactGlobal-to-past-conferences ( #4609 )
3 years ago
lxmarinkovic
fb12ba280c
ReactNext-2022 ( #4606 )
3 years ago
Dan Abramov
082cdd2f59
Bump latest to 18.1
3 years ago
dan
a7d2254e0d
Update more examples for 18 ( #4607 )
* Update more examples for 18
* blargh
3 years ago
Muhammad Yasir
2a8e0a7ab5
Replaced old ReactDOM API with new React v18 API ( #4598 )
* 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.
3 years ago
Soichiro Miki
b5c75c4290
Fix behavior of renderToStaticMarkup ( #4600 )
3 years ago
dan
9e29400997
Break down code into separate lines
3 years ago
Strek
1d21630e12
Update conferences.md ( #4593 )
3 years ago
Soichiro Miki
0d3233df60
Fix "Integrating with Other View Libraries" ( #4585 )
3 years ago
Dhairya
ab29c8aa1c
Update conferences.md ( #4589 )
Adding React Norway
Co-authored-by: CookieDuster <51830273+CookieDuster@users.noreply.github.com>
3 years ago
Oliver Williams
07dbd86ca4
add crypto.randomUUID as source of keys ( #4165 )
Co-authored-by: Oliver Williams <oliver@Olivers-MacBook-Pro.local>
3 years ago
Vaskevich Aleksander
63234808da
fix the code block for createRoot typescript error ( #4576 )
* fix the code block for createRoot typescript error
* added example block code for typescript
* Inline example
Co-authored-by: dan <dan.abramov@gmail.com>
3 years ago
Indermohan Singh
4a7144078c
fix the code block for AppWithCallbackAfterRender ( #4571 )
* 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>
3 years ago
Antony Budianto
84ad330833
fix typo "sever" on reference-react-dom-server.md ( #4570 )
3 years ago
dan
b2d16e5ac6
Mention TypeScript in the upgrade post ( #4567 )
* Mention TypeScript in the upgrade post
* Add a link
3 years ago
Sebastian Silbermann
42100a3448
renderToReadableStream: Ensure same var name is used in `onError` ( #4562 )
3 years ago
dan
d14cbdca24
Add more details on batching ( #4559 )
* Add more details on batching
* Use a generic example
3 years ago
dan
1015a73e1a
Clarify renderToString etc usage
3 years ago
dan
a78cc99618
Edits for ReactDOMServer API ( #4558 )
* Edits for ReactDOMServer API
* Move note below example
* No destructure
* Rm hr
* Add onError
* Drop SEO
* Update reference-react-dom-server.md
3 years ago
dan
65b04292eb
Document useId is not for keys ( #4557 )
3 years ago
dan
ebf94d3da9
Override sharp version ( #4554 )
3 years ago
Marco Antonio Ghiani
3fa71f02a2
Fix params order for hydrateRoot reference ( #4552 )
3 years ago
DavidKessel
6542602d63
fix babel url version ( #4549 )
Co-authored-by: David <mail.dakes@online.de>
3 years ago
Strek
cb4c9d319f
Update conferences.md ( #4546 )
3 years ago
Juho Vepsäläinen
cb11ae479e
docs: Add React Finland 2022 ( #4544 )
3 years ago
Jeongwoo Park
e27ad3299f
Fix grammar ( #4502 )
* Fix grammar
* Update rendering-lists.md
Co-authored-by: dan <dan.abramov@gmail.com>
3 years ago
dan
707f22d25f
Add call to action to 18 blog post ( #4542 )
3 years ago
Noel Kim (김민혁)
ec2dcbc737
Update Prerequisites nodejs version ( #4538 )
* Update Prerequisites nodejs version
* Update how-to-contribute.md
3 years ago
Kiran Abburi
2666c95575
Added React Day Bangalore 2022 ( #4539 )
3 years ago
dan
e826e66bff
Change redirect from WG post to the blog ( #4537 )
3 years ago
Edgar Manukyan
e34da98b57
reword challenge 2 ( #4536 )
3 years ago
Sanghyup Jeong
c77e2f2422
Fix typo in Automatic Batching example ( #4532 )
Co-authored-by: sanghyupjeong-29cm <hyupee@29cm.co.kr>
3 years ago
dan
0982707a98
Update StrictMode docs about double logging ( #4531 )
3 years ago
dan
1c5a6c137e
Update single-file example
3 years ago
Angelos Chalaris
56a0dca6fb
Update CDN links for React 18 ( #4528 )
3 years ago
Angelos Chalaris
f5c84d47ab
Update CDN links for React 18 ( #4523 )
3 years ago
dan
b5fd1df671
Add a note about Strict Mode to release blog post ( #4521 )
* Add a note about Strict Mode to release blog post
* Update 2022-03-08-react-18-upgrade-guide.md
* Update 2022-03-08-react-18-upgrade-guide.md
3 years ago
lilac-ss
c623de4e62
fix useTransition link ( #4519 )
3 years ago
Sukka
69ca55b931
Fix usage of useDeferredValue ( #4520 )
3 years ago
dan
41c3ca570f
Document the new consistent Suspense behavior ( #4517 )
* Document the new consistent Suspense behavior
* Update 2022-03-08-react-18-upgrade-guide.md
* Update 2022-03-08-react-18-upgrade-guide.md
3 years ago