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