JC (Jonathan Chen)
7e89958dc4
docs: fix grammar ( #4949 )
* docs: fix grammar
* Update strict-mode.md
Co-authored-by: dan <dan.abramov@gmail.com>
2 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
dan
0982707a98
Update StrictMode docs about double logging ( #4531 )
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
ilovepullrequests
c9efa5e266
Correct grammar ( #3608 )
Change 'was' to 'were'.
4 years ago
joan xie
e9da0fa160
Update strict-mode.md ( #3426 )
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
4 years ago
Dan Abramov
fae6d6b2eb
Oops
5 years ago
Sebastian Silbermann
9e5a358cb2
Explain how StrictMode affects function components and hooks ( #2515 )
* Update strict-mode.md
* Fix links
* docs: specify which kind of function component
* Update content/docs/strict-mode.md
* Update strict-mode.md
Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
5 years ago
Sunil Pai
60d83be9be
Add shouldComponentUpdate to list of methods double called in Strict Mode ( #2810 )
This landed in 16.13 via https://github.com/facebook/react/pull/17942
5 years ago
Patrick Smith
0741c81a14
"async" mode to "concurrent" mode ( #2761 )
Should hooks such as `useLayoutEffect`, `useEffect`, etc also be listed in the "Render phase lifecycles" section?
5 years ago
Dan Green
d7e9a52d7d
Updated strict-mode docs to use `UNSAFE_*` lifecycle method names ( #2683 )
* Updated strict-mode docs to use UNSAFE_ method names
The strict mode docs still reference the old `componentWill*` lifecycle method names, this updates them to be `UNSAFE_componentWill*`
* Tweaked docs to mention both unsafe lifecycle names
Co-authored-by: Brian Vaughn <brian.david.vaughn@gmail.com>
5 years ago
Nat Alison
25df15b83e
reapply, correctly generating links
6 years ago
Nat Alison
dc1e5366e3
revert id adding
6 years ago
Nat Alison
3e49e971d0
add everything else again
6 years ago
evolveris
dfaa41deab
Fix typo
6 years ago
Sebastian Markbåge
b6b15d770f
Document deprecation of findDOMNode ( #1263 )
We might want to open an RFC for fragment refs which could solve the one
remaining use case in a better way but at least let us get the deprecation
in.
6 years ago
cyan33
5ce098c1a1
refactor the wording
7 years ago
cyan33
1b5cf20dcc
add #detecting legacy context apis for strict mode post
7 years ago
Brian Vaughn
aa9810f4fd
Fixed some links and improved a recommendation
7 years ago
Brian Vaughn
ac1d767bd3
Fixed link
7 years ago
Brian Vaughn
5d5a5d2635
StrictMode title => Strict Mode
7 years ago
Brian Vaughn
a937c46e02
Typo fixes
7 years ago
Brian Vaughn
3c75def7e7
Deleted StrictMode and examples/images
7 years ago
Brian Vaughn
c7a61e6aba
Imported StrictMode docs (and examples) from PR #596
7 years ago
Brian Vaughn
813be17f1e
Updated docs/recipes in response to a new GH question
This question showed there was a use-case that I wasn't covering fully enough before, so I've added a new section.
7 years ago
Brian Vaughn
626ac42195
Moved StrictMode to docs rather than blog post
7 years ago
Brian Vaughn
f632f220c6
Wording changes for update-on-async and strict-mode
Incorporates most of Sophie's feedback.
Changes update-on-async references to 16.3 to be future tense (since this blog post will be released before 16.3). Changes strict-mode references to be past-tense (since this will be a docs page instead of a blog post).
7 years ago
Brian Vaughn
60d65ce23a
Wordsmithing
7 years ago
Brian Vaughn
fb3b91f06d
Add explanation for render and commit lifecycles
7 years ago
Brian Vaughn
75a43aab34
Wordsmithing in response to PR feedback
7 years ago
Brian Vaughn
5cae7c6282
Strict Mode blog title capitalization
7 years ago
Brian Vaughn
cdb4b9ee14
Added TOC header links to Strict Mode page
7 years ago
Brian Vaughn
0674c34f0a
Added string ref section to strict mode page
7 years ago
Brian Vaughn
9ff0f122af
Split StrictMode into its own top level docs page
7 years ago