Commit Graph

5472 Commits

Author SHA1 Message Date
Erik Rasmussen
6db368a9bc Relegate Reactathon 2022 to the annals of history (#4663) 2022-05-17 14:06:25 +01:00
Piotr Pośpiech
951fae39f0 added meetup (#4655) 2022-05-12 22:02:37 +05:30
dan
5fae61d7b7 [Beta] Change index page wording 2022-05-09 13:24:05 +01:00
dan
26a870e1c6 [Beta] Replace SVGs with PNGs (#4646)
* [Beta] Replace SVGs with PNGs

* Fix up sizes
2022-05-08 21:01:58 +01:00
Dan Abramov
29e7bc9555 Fix import 2022-05-08 04:21:44 +01:00
dan
fca358333d [Beta] Diagrams for Sharing State (#4644) 2022-05-07 23:56:08 +01:00
Strek
d8f92c1bfc Fixes layout shift (#4640) 2022-05-07 19:29:37 +01:00
dan
d1f2a31321 [Beta] Remove unfinished sketches (#4641) 2022-05-07 19:17:21 +01:00
dan
ebca48c5bc [Beta] Fix JSX diagrams (#4639) 2022-05-07 19:01:36 +01:00
Dan Abramov
e46b02f40b Tweak captions 2022-05-07 18:41:49 +01:00
dan
70312ab780 [Beta] Delete dead code (#4637) 2022-05-07 17:55:18 +01:00
dan
468f158a7d [Beta] Stylistic nits (#4636) 2022-05-07 17:19:02 +01:00
dan
dad1c0d667 [Beta] Edits for Installation (#4635) 2022-05-07 06:04:12 +01:00
dan
788986c14f [Beta] Update sandboxes to use 18 (#4634) 2022-05-07 00:09:43 +01:00
Jie Peng
dfe5080e2b fix(reference-react): typo (#4631)
Signed-off-by: Jie Peng <im@jiepeng.me>
2022-05-06 21:46:36 +01:00
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
2022-05-05 21:20:36 +05:30
Irakli Dautashvili
d27c1e4c6e fix useref: small typo in the code snipped (#4627) 2022-05-05 08:59:41 +05:30
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
2022-05-02 22:00:09 +02:00
Matías Aguilera
5f3a9756e0 Fix variable name to match example (#4615) 2022-05-01 18:09:33 +05:30
lxmarinkovic
09f8bcc4c5 RactGlobal-to-past-conferences (#4609) 2022-05-01 09:48:11 +05:30
lxmarinkovic
fb12ba280c ReactNext-2022 (#4606) 2022-05-01 09:46:03 +05:30
Dan Abramov
082cdd2f59 Bump latest to 18.1 2022-04-27 20:24:26 +01:00
dan
a7d2254e0d Update more examples for 18 (#4607)
* Update more examples for 18

* blargh
2022-04-27 20:12:07 +01:00
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.
2022-04-27 02:17:23 +01:00
Soichiro Miki
b5c75c4290 Fix behavior of renderToStaticMarkup (#4600) 2022-04-26 02:19:49 +01:00
dan
9e29400997 Break down code into separate lines 2022-04-25 16:23:25 +01:00
Strek
1d21630e12 Update conferences.md (#4593) 2022-04-22 13:23:18 +05:30
Soichiro Miki
0d3233df60 Fix "Integrating with Other View Libraries" (#4585) 2022-04-20 19:10:53 +01:00
Dhairya
ab29c8aa1c Update conferences.md (#4589)
Adding React Norway

Co-authored-by: CookieDuster <51830273+CookieDuster@users.noreply.github.com>
2022-04-19 22:45:52 +05:30
Oliver Williams
07dbd86ca4 add crypto.randomUUID as source of keys (#4165)
Co-authored-by: Oliver Williams <oliver@Olivers-MacBook-Pro.local>
2022-04-14 01:59:42 +01:00
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>
2022-04-13 15:25:28 +01:00
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>
2022-04-11 19:48:18 +01:00
Antony Budianto
84ad330833 fix typo "sever" on reference-react-dom-server.md (#4570) 2022-04-10 14:37:42 +01:00
dan
b2d16e5ac6 Mention TypeScript in the upgrade post (#4567)
* Mention TypeScript in the upgrade post

* Add a link
2022-04-08 19:36:34 +01:00
Sebastian Silbermann
42100a3448 renderToReadableStream: Ensure same var name is used in onError (#4562) 2022-04-07 19:27:13 +01:00
dan
d14cbdca24 Add more details on batching (#4559)
* Add more details on batching

* Use a generic example
2022-04-07 15:39:12 +01:00
dan
1015a73e1a Clarify renderToString etc usage 2022-04-07 01:27:08 +01:00
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
2022-04-07 00:59:23 +01:00
dan
65b04292eb Document useId is not for keys (#4557) 2022-04-06 21:49:13 +01:00
dan
ebf94d3da9 Override sharp version (#4554) 2022-04-06 19:33:36 +01:00
Marco Antonio Ghiani
3fa71f02a2 Fix params order for hydrateRoot reference (#4552) 2022-04-06 14:43:38 +05:30
DavidKessel
6542602d63 fix babel url version (#4549)
Co-authored-by: David <mail.dakes@online.de>
2022-04-05 00:31:04 +01:00
Strek
cb4c9d319f Update conferences.md (#4546) 2022-04-04 18:18:30 +05:30
Juho Vepsäläinen
cb11ae479e docs: Add React Finland 2022 (#4544) 2022-04-04 17:22:49 +05:30
Jeongwoo Park
e27ad3299f Fix grammar (#4502)
* Fix grammar

* Update rendering-lists.md

Co-authored-by: dan <dan.abramov@gmail.com>
2022-04-04 12:50:50 +01:00
dan
707f22d25f Add call to action to 18 blog post (#4542) 2022-04-03 21:37:23 +01:00
Noel Kim (김민혁)
ec2dcbc737 Update Prerequisites nodejs version (#4538)
* Update Prerequisites nodejs version

* Update how-to-contribute.md
2022-04-03 15:34:01 +01:00
Kiran Abburi
2666c95575 Added React Day Bangalore 2022 (#4539) 2022-04-03 15:25:34 +05:30
dan
e826e66bff Change redirect from WG post to the blog (#4537) 2022-04-02 16:21:55 +01:00
Edgar Manukyan
e34da98b57 reword challenge 2 (#4536) 2022-04-02 14:29:39 +01:00