Commit Graph

20 Commits

Author SHA1 Message Date
ilovepullrequests
c9efa5e266 Correct grammar (#3608)
Change 'was' to 'were'.
2021-04-05 11:29:48 +02:00
joan xie
e9da0fa160 Update strict-mode.md (#3426)
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2020-12-04 01:52:19 +01:00
Dan Abramov
fae6d6b2eb Oops 2020-03-30 16:05:35 +01:00
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>
2020-03-30 15:01:54 +01:00
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
2020-03-04 12:34:58 +00:00
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?
2020-02-20 09:17:03 -08:00
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>
2020-01-16 09:21:09 -08:00
Saransh Kataria
fb3327f109 Merge pull request #1574 from evolveris/patch-1
Fix typo
2019-02-20 07:32:22 -08: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
evolveris
dfaa41deab Fix typo 2019-01-19 11:43:17 +00:00
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.
2018-10-23 16:54:04 -07:00
cyan33
5ce098c1a1 refactor the wording 2018-05-18 14:56:07 -07:00
cyan33
1b5cf20dcc add #detecting legacy context apis for strict mode post 2018-05-17 14:40:47 -07:00
Brian Vaughn
aa9810f4fd Fixed some links and improved a recommendation 2018-03-29 12:59:26 -07:00
Brian Vaughn
ac1d767bd3 Fixed link 2018-03-29 12:51:14 -07:00
Brian Vaughn
5d5a5d2635 StrictMode title => Strict Mode 2018-03-19 07:32:04 -07:00
Brian Vaughn
a937c46e02 Typo fixes 2018-03-15 10:05:02 -07:00
Brian Vaughn
c7a61e6aba Imported StrictMode docs (and examples) from PR #596 2018-03-07 11:33:19 -08:00