Commit Graph

28 Commits

Author SHA1 Message Date
Dan Abramov
5ef6955a90 Simplify wording 2023-01-24 07:27:10 +00:00
dan
3b0be4fbef Link to beta in content (#5495) 2023-01-24 07:03:08 +00:00
dan
a7d2254e0d Update more examples for 18 (#4607)
* Update more examples for 18

* blargh
2022-04-27 20:12: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
Aniruddha Shriwant
f062ee271b [docs]: Updated CodePen links (#4232)
Signed-off-by: Aniruddha Shriwant <aniruddhashriwant@gmail.com>
2022-01-27 17:09:28 +05:30
Ricky
6bb0d33e0c Clarify language in components-and-props.md (#3020)
* Clarify language in components-and-props.md

This is a nit for a few reasons:
- The point that extracting a component that "is complex enough on its own" means that it's not necessarily reusable.
- Extracting the components listed in the same sentence (e.g. App) are not necessarily reusable.
- This ends the section "Extracting Components" with a reference to extraction instead of re-usability.
- This delimits extracting into a separate component from creating a re-usable component.

* Update components-and-props.md

* Update components-and-props.md
2020-06-05 17:14:53 -07:00
Matt Wood
a1f0f84a1f Update components docs for functional components (#2547)
* Update components docs for functional components

* Update components-and-props.md

Co-authored-by: Sunil Pai <threepointone@oculus.com>
2020-03-09 12:52:33 +00:00
amdwit
70826654df Update components-and-props.md (#2601) 2020-03-09 12:33:38 +00:00
Alexander Kuznetsov
564dbc705f Descriptive link text for accessibility (#1659) 2019-02-10 15:28:06 +00: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
Dan Abramov
81afcfbd87 Functional -> function (#863) 2018-10-04 22:13:09 +01:00
Dan
db66436112 Make CodePen links more prominent and consistent 2018-06-23 02:10:56 +01:00
Dan Abramov
c70187cdbf Cross-link more articles 2018-06-11 02:01:34 +01:00
Cristian Garabagiu
82a402168d Fixed broken URL (#750) 2018-04-01 13:34:58 +01:00
Alex Krolick
d9e7b42527 Update note label 2018-03-13 22:00:21 -07:00
Rauno Freiberg
3788f5c2cf [docs] add reference to the explanation of capitalizing components 2018-03-13 17:37:05 +02:00
Alex
77793be4ca Update components-and-props.md 2018-01-04 08:03:55 -09:00
Alex
801a51fce2 Update capital-letter caveat 2018-01-04 07:53:28 -09:00
uberfabulous
dd604052fe Clarify Component capital letter caveat example.
Added "...the capital 'W' in..." to help reader focus their attention on the capital 'W' within `Welcome` for minor clarity improvement.
2017-12-22 15:07:04 +08:00
Steven Syrek
e38ba413ec Fix typo (#326) 2017-11-22 13:15:24 +00:00
Brian Vaughn
3f6854d081 Changed Codepen link protocol from 'codepen:' to 'codepen://' for improved clarity 2017-11-07 10:35:49 +00:00
Brian Vaughn
6fd0d7950e Added custom remark transform for Codepen example links 2017-11-06 23:00:26 +00:00
Brian Vaughn
cadaeae62b Reorganized codepen folder further to support nesting 2017-11-06 14:22:49 +00:00
Michel EDIGHOFFER
bcbf2a464c Useless caveat about root element in a component
With new version of React (v16), many root element are acceptable.
2017-10-24 17:22:47 +02:00
kevin moore
7aab61fffa Add etymological background to "props". (#177) 2017-10-18 18:11:02 +01:00
Brian Vaughn
93aa551f1a Reorganized 'docs' folder 2017-10-04 14:48:45 -07:00