Commit Graph

28 Commits

Author SHA1 Message Date
Strek
3aac8c5984 use proper code block (#4671) 2022-05-22 11:06:07 +05:30
dan
a7d2254e0d Update more examples for 18 (#4607)
* Update more examples for 18

* blargh
2022-04-27 20:12:07 +01:00
Angelos Chalaris
56a0dca6fb Update CDN links for React 18 (#4528) 2022-03-30 17:06:07 +01:00
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>
2022-03-29 12:03:23 -04:00
Rahul Bhooteshwar
449cb26bb9 docs: correct online editor link for jsx demo (#3935) (#3945) 2021-10-08 11:12:54 +02:00
Haroen Viaene
ca08866f52 "the browsers" -> "browsers" (#3816)
We are now talking about "the browsers", but I think just "browsers", "most browsers" or "web browsers" make more sense, what do you think?
2021-07-29 07:33:31 +02:00
Brian Vaughn
d456dfbd29 Update docs and config to replace "master" with "main" branch
https://github.com/facebook/react/issues/21767
2021-06-29 13:35:55 -04:00
Dan Abramov
02d17e4217 Update more docs to 17 (#3345) 2020-10-23 21:21:14 +01:00
David Beitey
9c2e893774 Use gist URLs instead of RawGit in React docs (#2385)
RawGit is being shut down (eg Oct 2019, https://rawgit.com/) and this change uses the direct links to the files as served from gist.github.com.  The same files are being served, just that the links are only dependent on GitHub's gist service.
2019-10-02 10:22:15 -07:00
Camilo Giraldo
f4a67ffdfb Fix for 1874 broken link (#1902) 2019-04-24 09:39:54 +03:00
Arvindeva Wibisono
cda11db7eb Fixed typo (#1786)
'minifed' -> 'minified'
2019-03-05 11:34:38 -08:00
Alexey Pyltsyn
1a625b7b69 Merge branch 'master' into httpsify 2019-02-22 00:12:48 +03:00
Michał Gołębiowski-Owczarek
7e4ac52af4 HTTPS-ify most insecure URLs in content/docs (& one in Acknowledgments)
This is a followup to #1157
2019-02-07 14:45:03 +01:00
Nat Alison
25df15b83e reapply, correctly generating links 2019-02-06 18:03:29 -08:00
Nat Alison
dc1e5366e3 revert id adding 2019-02-06 18:00:52 -08:00
Nat Alison
3e49e971d0 add everything else again 2019-02-06 17:22:04 -08:00
Alex Krolick
48cbb02dd2 make all redirect_from's arrays (#1075)
make Gatsby happy again
2018-07-19 10:51:07 -07:00
embs
49053f3705 Fix another typo typo (#1021)
Remove duplicated word.

Related to #1007
2018-06-28 18:30:04 +01:00
Dan Abramov
fd2185b157 Add "Quickly Try JSX" 2018-06-28 15:28:32 +01:00
Dan
796257b34e Minor tweaks 2018-06-28 02:53:48 +01:00
Dan
eff5afaf3b Less feels 2018-06-28 02:37:56 +01:00
Dan
9ecd614eb1 Sell JSX step better 2018-06-28 02:07:32 +01:00
Kristofer Selbekk
5b2eb6e2af Fix a typo typo (#1007) 2018-06-27 13:29:49 +01:00
Dan Abramov
23e2c59da0 Wording 2018-06-26 19:00:09 +01:00
Dan Abramov
da1b319a04 Typo 2018-06-26 11:38:32 +01:00
Sylvan Mably
eb9e3be4bc Fix typo (#997) 2018-06-25 18:57:12 -07:00
Dan Abramov
10bef30202 Minor tweaks 2018-06-26 02:06:38 +01:00
Dan Abramov
623523131e Rewrite Installation and related docs (#996)
* Rewrite "adding React to existing app"

Fixes #988

* Some copy

* typo

* Update babel instructions

* Update umd link

* Add prod minification section

* Show "button" example in several targets

* wip

* More

* More

* tweak

* yas

* Multi root tip

* moaar

* alot

* Tweak links

* Explain better

* better lead

* tweaks

* tweaks

* wording

* More reassuring tone

* Grammar

* wording

* feedback from readers

* Use id, not class

* More nits

* Re-add a useful section
2018-06-26 01:24:56 +01:00