-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
difficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.Issues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
Description
💥 Proposal
There's no getDerivedStateFromError or componentDidCatch in Docusaurus v2.
Errors might not happen very often, particularly most of them would simple make the build fail.
But it might still be useful to add a default global error boundary in case the code of the user produces a runtime error. Some people might introduce buggy code in pages that might crash at runtime.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
difficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.Issues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.