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

Prevent Minified react error #419 in production #3755

Merged
merged 3 commits into from
Aug 22, 2022

Conversation

itsdillon
Copy link
Member

@itsdillon itsdillon commented Aug 19, 2022

Closes #3726

What are the changes and their implications?

It seems nextjs throws a different error for production environments called Minified React error #419. This PR adds a check for Minified React error #419 in the onRecoverableError property during the nextjs codegen patch.

@itsdillon itsdillon requested a review from beerose as a code owner August 19, 2022 12:47
@changeset-bot
Copy link

changeset-bot bot commented Aug 19, 2022

🦋 Changeset detected

Latest commit: c9cb776

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
blitz Patch
@blitzjs/auth Patch
@blitzjs/next Patch
@blitzjs/rpc Patch
@blitzjs/codemod Patch
@blitzjs/config Patch
@blitzjs/generator Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@itsdillon itsdillon changed the title add check for Minified React error #419 during codegen nextjs patch Add check for Minified React error #419 during codegen nextjs patch Aug 19, 2022
@itsdillon itsdillon requested a review from flybayer August 19, 2022 13:07
flybayer
flybayer previously approved these changes Aug 19, 2022
@itsdillon itsdillon changed the title Add check for Minified React error #419 during codegen nextjs patch Prevent minified react error #419 in production Aug 19, 2022
@itsdillon itsdillon changed the title Prevent minified react error #419 in production Prevent Minified react error #419 in production Aug 19, 2022
@itsdillon itsdillon merged commit 638f231 into main Aug 22, 2022
@itsdillon itsdillon deleted the fix-next-patch-for-production branch August 22, 2022 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Minified React Error with Production Build
4 participants