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
Strek
7994045415
Fixes survey ( #4451 )
3 years ago
Xuan Huang (黄玄)
3c3d8ace70
Add Xuan to team page ( #4454 )
* Add Xuan To The Team
* Don't forget to add to the Beta site as well
3 years ago
Ricky
05177fffb4
React 18 RC - Upgrade Guide ( #4384 )
* Blog Draft: React 18 RC Upgrade Guide
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Minor updates
* Update content/blog/2022-02-25-react-v18-rc.md
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
* Update Strict Effect section
* Fill in testing section
Some info about how to configure global.IS_REACT_ACT_ENVIRONMENT
* Minor updates
* Update react-dom imports
Use named imports
* Add link to react-testing-library
* Remove Suspense specifics
* Update to react-dom/client
* Updates to SSR
* Minor updates
* Fix typo
* Minor updates to wording
* Minor updates to wording
* Tweak call to action
I edited the intro section a bit to soften the call to action.
I also removed the reference to the "second RC" since we may
publish another one and the fact that it's the second one
isn't that important.
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
Co-authored-by: Andrew Clark <git@andrewclark.io>
3 years ago
Dan Abramov
c64b202b9e
Add linebreak
3 years ago
Dan Abramov
8b5ce4dcb5
Fix mobile layout on beta
3 years ago
Ricky
a08e1fd4b5
Fixes for banner on beta ( #4435 )
3 years ago
Dmitry Vinnik | Meta
d90fd21fdb
docs: Adding Social Banner in Support of Ukraine ( #4397 )
* Adding Social Banner with Support for Ukraine
* Changing spacing the social banner
* Fixing lint errors
* Remove external link icon from social banner
* Add banner for beta site
* Add todo
* Fix centering on mobile in old site
Co-authored-by: Rick Hanlon <rickhanlonii@gmail.com>
3 years ago
Sha Mwe La
6c95de96f7
[Beta] Delete unused variables ( #4379 )
* Delete unused variables
* Change event to e
* Change e to evt
3 years ago
Dan Abramov
31304b8057
Oops
3 years ago
dan
299dad85be
[Beta] useContext API ( #4378 )
* [Beta] useContext API
* Simplify + add
* Tweaks
* Softer
* Tweaks
* Small tweaks
3 years ago
Ricky
ac9a984a5b
Add diagrams to Quick Start ( #4377 )
* Add diagrams to Quick Start
* Switch to svg
* Switch dark mode image
* Rework file names, minor dark mode updates
* Update alt tags and descriptions
3 years ago
dan
8314493274
Fix focus rings
3 years ago
Dan Abramov
b6a181c526
Fix editable code blocks
3 years ago
Sha Mwe La
1b05b11188
Remove `transform` ( #4375 )
3 years ago
Sha Mwe La
508b427937
Improve ESLint ( #4372 )
3 years ago
Strek
275d03f1c0
Upgrade sandpack to fix code cutting issue in view only editor ( #4371 )
* Upgrade sandpack to fix code cutting issue in view only editor
* Added proper sandpack version
3 years ago
Anjorin Damilare
9bcbe7ba5f
[beta] bump tailwind to v3 and update config ( #4366 )
* [beta] bump tailwind to v3 and update config
* fix widget wrong position
* fix content tailwind config
3 years ago
Sha Mwe La
2310e15532
Add ARIA labels on the navigation buttons ( #4363 )
3 years ago
Strek
5b8a720ece
Initial Commit ( #4358 )
3 years ago
Strek
7d55f613a6
Initial Commit ( #4357 )
3 years ago
Dan Abramov
3ae0eb6a9d
Fix white flash when loading
3 years ago
Dan Abramov
6c855f7f98
Remember whether downloads are supported
3 years ago
Dan Abramov
ab648df861
Consolidate and preload fonts
3 years ago
Dan Abramov
f3f580a99a
Don't use unload on modern browsers
3 years ago
Dan Abramov
855c26a9d8
Ignore TSC build file
3 years ago
Dan Abramov
753c4fc571
Delete dead code
3 years ago
Dan Abramov
8def74995a
Try caching the font
3 years ago
dan
0883863c67
[Beta] Use a light GA client ( #4355 )
* [Beta] Use a light GA client
* oopsie
3 years ago
Dan Abramov
9ac33fff1a
Fix TS
3 years ago
Dan Abramov
8ca0215cff
Fix pageview collection for UA
3 years ago
Dan Abramov
81f772e8b1
Switch from GA4 to UA to track feedback
3 years ago
Dan Abramov
45ac43a9f1
Never use local font
3 years ago
dan
c8ec9d841a
[Beta] Replace Hotjar with GA buttons ( #4275 )
* Replace Hotjar with GA buttons
* initial styles for GA buttons
* Add feedback popover
* style fixes + adding SVGs
* dark mode fix
* Maintain state
* Click outside
* Fix TS
* Oops
Co-authored-by: Dan Lebowitz <dan.lebo@me.com>
3 years ago
dan
a48ba9c1d9
Link to how to set up syntax in Sublime
3 years ago
Sha Mwe La
3d6081f65f
[Beta] Add aria-label and title to permalinks ( #4344 )
* Add tab index -1
* Improve accessibility
3 years ago