dan
a7d2254e0d
Update more examples for 18 ( #4607 )
...
* Update more examples for 18
* blargh
2022-04-27 20:12:07 +01:00
Alonso Holmes
91374d36b8
[Docs] Fix typo in ErrorBoundary docs ( #3947 )
2021-10-05 09:47:19 +02:00
Juno Tesoro
df2fbde3b5
Fix typos in error-boundaries.md ( #3586 )
...
Add missing "how" and "an"
2021-03-22 09:46:44 +01:00
Chris Wilson
ec07e80be0
Remove prev/next links from the Advanced Guide ( #3269 )
2020-09-21 10:19:11 +02:00
Eduard Poracký
d16f1ee795
Add next and previous links to Advanced Guides ( #540 )
...
Co-authored-by: Eduard Poracký <eporacky@trionyx.sk >
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
2020-08-23 19:44:57 +02:00
HKalbasi
fb71011c30
Replace old babel plugin link with new one ( #3215 )
2020-08-19 20:51:12 +01:00
Sean McPherson
770cb59d6c
Use semantic button for event handler example ( #2781 )
...
As a general rule, `onClick` handlers should not be applied to non-interactive elements like a `div`. There is not substantive change to the code sample, but it doesn't provide a better example of semantic HTML for developers reading the documentation.
2020-02-26 15:31:43 -08:00
Behnam Mohammadi
8cd5737ba1
Update componentDidCatch argument name like demo ( #2180 )
2019-08-12 10:07:53 +03: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
Brian Vaughn
43339e2611
Add docs for getDerivedStateFromError [16.6] ( #1223 )
...
* Updated error boundary docs to reference new getDerivedStateFromError
* Updated some wording in response to PR feedback
* These
2018-10-23 16:55:17 -07:00
Sophie Alpert
026edff33c
Error boundaries docs shouldn't use class fields
2018-10-21 11:30:29 -07:00
Dan Abramov
425cb9a429
Terminology: Lifecycle hooks -> Lifecycle methods ( #1237 )
2018-10-08 19:29:31 +01:00
John
a4aa51035a
docs(error-boundaries):fix react blog link ( #817 )
2018-04-17 18:20:30 +01:00
John
233d74e790
docs(error-boundaries):remove react beta reference ( #815 )
2018-04-17 16:59:05 +01:00
Dan Abramov
2c7c414ce7
Suggest a smaller Function.name polyfill
2017-10-30 21:22:22 +00:00
Justin Hall
6e74bd8aa6
Add note about Function.name to error boundary doc
2017-10-30 11:11:48 -06:00
Dan Abramov
ff8ef817e3
Make error boundary doc more in style with the post ( #213 )
...
* Make error boundary doc more in style with the post
* Update error-boundaries.md
* Update error-boundaries.md
2017-10-27 12:51:03 +01:00
thomasyimgit
9a97813e25
add uncovered scenarios of error boundaries, and add try/catch demo for event handlers
2017-10-18 14:30:14 -04:00
Krzysztof Borowy
03dae5bd0a
Reuse images in blog/docs. Remove intends
2017-10-07 13:04:39 +02:00
Krzysztof Borowy
1394c0e439
Added error boundaries docs
2017-10-06 21:45:20 +02:00