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

Remove special error script handling #3849

Merged
merged 4 commits into from
Feb 21, 2018

Conversation

arunoda
Copy link
Contributor

@arunoda arunoda commented Feb 20, 2018

  • - Remove special error handling
  • - Fix failing test cases
  • - Refactor code base (Remove unused code)
  • - Test across browsers

This allow us to serve Next.js assets from a static directory and still support zones.
As a result of that, we can't detect 500 errors and buildIdMismatch via client side.

As a result of that, we can't detect 500 errors and buildIdMismatch via client side.
@arunoda arunoda changed the title Remove special error script handling [WIP] Remove special error script handling Feb 20, 2018
@arunoda arunoda changed the title [WIP] Remove special error script handling Remove special error script handling Feb 21, 2018
@@ -53,6 +54,18 @@ routerEvents.forEach((event) => {
})
})

const warnAboutRouterOnAppUpdated = execOnce(() => {
console.warn(`Router.onAppUpdated is removed - visit https://err.sh/next.js/no-on-app-updated-hook for more information.`)
Copy link
Member

Choose a reason for hiding this comment

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

https://err.sh/next.js/no-on-app-updated-hook (otherwise consoles might not linkify it)

Copy link
Contributor Author

@arunoda arunoda Feb 21, 2018

Choose a reason for hiding this comment

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

This is already like that.

@arunoda arunoda merged commit a32b22b into canary Feb 21, 2018
@arunoda arunoda deleted the remove-special-error-script-handling branch February 21, 2018 17:41
@lock lock bot locked as resolved and limited conversation to collaborators Feb 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants