dan
4708fe6fd2
[Beta] Slightly reduce bundle size ( #4688 )
3 years ago
Dan Abramov
e49a96f28c
Fix TS
3 years ago
dan
603c6c36af
[Beta] Fix lint re-running every second ( #4687 )
3 years ago
Dan Abramov
f1f545c729
[Beta] Lazy-load analytics
3 years ago
Dan Abramov
6e67dfbb98
Fix
3 years ago
Dan Abramov
663f975620
[Beta] Serve fonts from same domain
3 years ago
dan
26d7dfb25c
[Beta] Build for modern browsers ( #4682 )
3 years ago
dan
4e629996e4
[Beta] Update Next and React ( #4680 )
* [Beta] Update Next and React
* Fix types
3 years ago
dan
9cee632619
[Beta] Do not bundle built-in ESLint rules ( #4679 )
3 years ago
dan
2ece592999
[Beta] Load CodeMirror linter plugin lazily ( #4678 )
3 years ago
Dan Abramov
79d50e03c4
Fix lint
3 years ago
Danilo Woznica
64a2edea9d
fix(eslint): exclude parsing errors ( #4673 )
3 years ago
Danilo Woznica
1cf3c1b1a0
chore(sandpack): remove unused code ( #4674 )
3 years ago
dan
20ad0e8ca9
[Beta] Lazy-load linter code ( #4675 )
* [Beta] Lazy-load linter code
* Split utils into separate files
3 years ago
Strek
3aac8c5984
use proper code block ( #4671 )
3 years ago
dan
199e9ca2b3
[Beta] Fix error precedence ( #4666 )
3 years ago
Danilo Woznica
3ab1245314
[beta] Sandpack - new bundler ( #4458 )
* add new bundle for testing
* add timer
* update url
* update bundler version
* Remove temporary code
* Fix lint
* why?
* testing bundler url
* uncaught exception handling
* catch global errors on new bundler
* Try latest bundler
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
3 years ago
Dan Abramov
dbeeac8ab6
Fix patch
3 years ago
Danilo Woznica
fc88516abf
[Beta] Adds eslint integration on Sandpack ( #4665 )
* added sandpack linter and installed latest sandpacl
* integrate eslint into Sandpack
* Format the linting errors, disable preview on lint error, have only two react hooks
* fixes build
* split eslint-integration
* fix tooltip text color, error rename to 'Lint Error', show single lint error
* NIT
* Just enable it
* Delete eslint.md
Co-authored-by: Strek <ssharishkumar@gmail.com>
Co-authored-by: dan <dan.abramov@gmail.com>
3 years ago
Erik Rasmussen
6db368a9bc
Relegate Reactathon 2022 to the annals of history ( #4663 )
3 years ago
Piotr Pośpiech
951fae39f0
added meetup ( #4655 )
3 years ago
dan
5fae61d7b7
[Beta] Change index page wording
3 years ago
dan
26a870e1c6
[Beta] Replace SVGs with PNGs ( #4646 )
* [Beta] Replace SVGs with PNGs
* Fix up sizes
3 years ago
Dan Abramov
29e7bc9555
Fix import
3 years ago
dan
fca358333d
[Beta] Diagrams for Sharing State ( #4644 )
3 years ago
Strek
d8f92c1bfc
Fixes layout shift ( #4640 )
3 years ago
dan
d1f2a31321
[Beta] Remove unfinished sketches ( #4641 )
3 years ago
dan
ebca48c5bc
[Beta] Fix JSX diagrams ( #4639 )
3 years ago
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