dan
a7d2254e0d
Update more examples for 18 ( #4607 )
* Update more examples for 18
* blargh
3 years ago
Alonso Holmes
91374d36b8
[Docs] Fix typo in `ErrorBoundary` docs ( #3947 )
3 years ago
Juno Tesoro
df2fbde3b5
Fix typos in error-boundaries.md ( #3586 )
Add missing "how" and "an"
4 years ago
Chris Wilson
ec07e80be0
Remove prev/next links from the Advanced Guide ( #3269 )
4 years ago
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>
4 years ago
HKalbasi
fb71011c30
Replace old babel plugin link with new one ( #3215 )
4 years ago
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.
5 years ago
Behnam Mohammadi
8cd5737ba1
Update componentDidCatch argument name like demo ( #2180 )
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
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
6 years ago
Sophie Alpert
026edff33c
Error boundaries docs shouldn't use class fields
6 years ago
Dan Abramov
425cb9a429
Terminology: Lifecycle hooks -> Lifecycle methods ( #1237 )
6 years ago
John
a4aa51035a
docs(error-boundaries):fix react blog link ( #817 )
7 years ago
John
233d74e790
docs(error-boundaries):remove react beta reference ( #815 )
7 years ago
Dan Abramov
2c7c414ce7
Suggest a smaller Function.name polyfill
7 years ago
Justin Hall
6e74bd8aa6
Add note about Function.name to error boundary doc
7 years ago
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
7 years ago
thomasyimgit
9a97813e25
add uncovered scenarios of error boundaries, and add try/catch demo for event handlers
7 years ago
Krzysztof Borowy
03dae5bd0a
Reuse images in blog/docs. Remove intends
7 years ago
Krzysztof Borowy
1394c0e439
Added error boundaries docs
7 years ago
Brian Vaughn
eb1994b0d2
Fixes to markdown content/paths
7 years ago
Brian Vaughn
93aa551f1a
Reorganized 'docs' folder
7 years ago
Brian Vaughn
52b694eaae
Add new docs website ( #10896 )
Adds a new docs website, built with Gatsby JS, to replace the old Jekyll site. Source code for the new site lives in /www (although markdown and YML data still comes from the legacy /docs folder).
Changes to either markdown or website source code can be previewed on Netlify. The react-js bot should automatically add comments to each PR with preview links. (This preview is generated by running the newly-added yarn build:docs command in the root package.json.)
The majority of the changes in this PR are contained within the new /www directory. However some minor modifications have been made to existing content in the /docs directory:
* Modified frontmatter author block to always be an array
* Small markdown formatting tweaks
7 years ago
Dan Abramov
d615fe40a1
Make it more specific
8 years ago
Fernando Montoya
c82dd413aa
Add Babel plugin note to Error boundaries post ( #10313 )
* Add Babel plugin note to Error boundaries post
* Added section with screenshots
* Add context to Component stack traces
* Update 2017-07-26-error-handling-in-react-16.md
* Move section, more minor changes
* Change pics
8 years ago
Toru Kobayashi
9bff669f9f
Add a link for the error boundaries codemod into the blog post ( #10305 )
* Add a link for the error boundaries codemod into the blog post
* Update 2017-07-26-error-handling-in-react-16.md
8 years ago
Dan Abramov
1602db79a7
Reword further
8 years ago
Daniel Lo Nigro
3bdf46ca29
Replace "children (and grandchildren)" with "descendants" ( #10297 )
8 years ago
Dan Abramov
7c8235c566
Link to React 16 beta
8 years ago
Dan Abramov
84ef5b3f90
Blog post: Error Handling in React 16 ( #10267 )
* Blog post: Error Handling in React 16
* Change the date
8 years ago