dan
47eea56bcf
[Beta] Enable Selective Hydration in more places ( #4689 )
* [Beta] Enable Selective Hydration in more places
* Fix typo
3 years ago
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
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
Irakli Dautashvili
d27c1e4c6e
fix useref: small typo in the code snipped ( #4627 )
3 years ago
Matías Aguilera
5f3a9756e0
Fix variable name to match example ( #4615 )
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
DavidKessel
6542602d63
fix babel url version ( #4549 )
Co-authored-by: David <mail.dakes@online.de>
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
Edgar Manukyan
e34da98b57
reword challenge 2 ( #4536 )
3 years ago
Angelos Chalaris
56a0dca6fb
Update CDN links for React 18 ( #4528 )
3 years ago
Ricky
74246c13b9
React 18 ( #4499 )
* [18] ReactDOM reference to createRoot/hydrateRoot (#4340 )
* [18] ReactDOM reference to createRoot/hydrateRoot
* Update note about render and hydrate
* Match the warning text
* s/Render/render
* [18] Update ReactDOMClient docs (#4468 )
* [18] Update ReactDOMClient docs
* Remove ReactDOMClient where it's obvious
* Update browser message
* Update browser message note
* Update based on feedback
* Add react-dom/client docs
* [18] Upgrade homepage examples (#4469 )
* [18] Switch code samples to createRoot (#4470 )
* [18] Switch code samples to createRoot
* Feedback fixes
* Feedback updates
* [18] Use hydrateRoot and root.unmount. (#4473 )
* [18] Add docs for flushSync (#4474 )
* [18] Add flushSync to ReactDOM docs
* Seb feedback
* More Seb feedback
* [18] Bump version to 18 (#4478 )
* [18] Update browser requirements (#4476 )
* [18] Update browser requirements
* Update based on feedback
* [18] Add stubs for new API references (#4477 )
* [18] Add stubs for new API references
* Change order/grouping
* [18] Redirect outdated Concurrent Mode docs (#4481 )
* [18] Redirect outdated Concurrent Mode docs
* Use Vercel redirects instead
* [18] Update versions page (#4482 )
* [18] Update version page
* Fix prettier
* [18] Update React.lazy docs (#4483 )
* [18] Add docs for useSyncExternalStore (#4487 )
* [18] Add docs for useSyncExternalStore
* rm "optional"
* [18] Add docs for useInsertionEffect (#4486 )
* [18] Add docs for useId (#4488 )
* [18] Add docs for useId
* Update based on feedback
* Add Strict Effects to Strict Mode (#4362 )
* Add Strict Effects to Strict Mode
* Update with new thinking
* [18] Update docs for useEffect timing (#4498 )
* [18] Add docs for useDeferredValue (#4497 )
* [18] Update suspense docs for unexpected fallbacks (#4500 )
* [18] Update suspense docs for unexpected fallbacks
* Add inline code block
* Feedback fixes
* [18] Updated Suspense doc with behavior during SSR and Hydration (#4484 )
* update wording
* wording
* update events
* Update content/docs/reference-react.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* add link to selective hydration
* remove some of the implementation details
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* [18] renderToPipeableStream doc (#4485 )
* new streaming ssr api
* add readable stream
* code snippets
* Rename strict effects / unsafe effects to use the reusable state terminology (#4505 )
* Add draft of 18 release post
* Add links to speaker Twitter profiles
* [18] Update upgrade guide
* Fix typo in blog title
* [18] Blog - add note for react native
* [18] Add changelog info to blog posts
* Edit Suspense for data fetching section
* Update date
* [18] Add links
* Consistent title case
* Update link to merged RFC
* [18] Update APIs and links
* [18] Add start/useTransition docs (#4479 )
* [18] Add start/useTransition docs
* Updates based on feedback
* [18] Generate heading IDs
* Add note about Strict Mode
* Just frameworks
* Reorder, fix content
* Typos
* Clarify Suspense frameworks section
* Revert lost changes that happened when I undo-ed in my editor
Co-authored-by: salazarm <salazarm@users.noreply.github.com>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
Co-authored-by: Sebastian Markbåge <sebastian@calyptus.eu>
Co-authored-by: Andrew Clark <git@andrewclark.io>
Co-authored-by: dan <dan.abramov@gmail.com>
3 years ago
victor0x16
ac68ced36e
example should import useReducer ( #4504 )
3 years ago
DavidKessel
335417aa97
fix typo on page ( #4490 )
Co-authored-by: David <mail.dakes@online.de>
3 years ago
Ricky
1e3b023d31
Add diagrams for Preserving and Resetting State ( #4439 )
* Add diagrams for Preserving and Resetting State
* Dark mode
* Add alt text and fix file names
* Feedback updates
3 years ago
salazarm
105fb7956d
update code sandboxes ( #4466 )
3 years ago
dan
69f90d25b5
[Beta] createContext API ( #4467 )
* [Beta] createContext API
* Add to index
* Add a link
3 years ago
Dan Abramov
c0b6e0bbb1
Add more exports
3 years ago
dan
f7f92b88e9
[Beta] useReducer API ( #4441 )
3 years ago
Ricky
2f05f3f3d2
Add diagram to Reacting to Input with State ( #4434 )
3 years ago
Ricky
0ff869ffde
Add diagrams for passing props with context ( #4394 )
* Add diagrams for passing props with context
* Update beta/src/pages/learn/passing-data-deeply-with-context.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update beta/src/pages/learn/passing-data-deeply-with-context.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update beta/src/pages/learn/passing-data-deeply-with-context.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Fixes for mobile
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
3 years ago
Ricky
90ae8466a2
Add diagrams for "Putting markup into JavaScript" ( #4390 )
* Add diagrams for "Putting markup into JavaScript"
* Update alt tags
* Fix isLoggedIn
* Minor style updates for mobile
3 years ago