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