Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(v2): better & nice looking error overlay #2096

Merged
merged 2 commits into from
Dec 6, 2019
Merged

Conversation

endiliey
Copy link
Contributor

@endiliey endiliey commented Dec 6, 2019

Motivation

Better error overlay.
image

Previously it's like this
image

Have you read the Contributing Guidelines on pull requests?

yes

Test Plan

Hot reload still ok
hot reload still ok

Error, can even open editor like CRA
new error overlay

@endiliey endiliey added the pr: maintenance This PR does not produce any behavior differences to end users when upgrading. label Dec 6, 2019
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Dec 6, 2019
Copy link
Contributor

@yangshun yangshun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this change!

@yangshun yangshun merged commit e62a938 into master Dec 6, 2019
// TODO: add plugins beforeDevServer and afterDevServer hook
},
};
WebpackDevServer.addDevServerEntrypoints(config, devServerConfig);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer needed cause we dont want to use the default client from webpack-dev-server. We use CRA's

@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-2 ready!

Built with commit 9ef1235

https://deploy-preview-2096--docusaurus-2.netlify.com

@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-preview ready!

Built with commit 9ef1235

https://deploy-preview-2096--docusaurus-preview.netlify.com

@endiliey endiliey deleted the endi/error-overlay branch December 6, 2019 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: maintenance This PR does not produce any behavior differences to end users when upgrading.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants