You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2022. It is now read-only.
babel/preset-env with next/babel will result in instantiation issues with class components. Class components are still necessary in order to extend wrappers(app, doc) and utilize NextJS lifecycle methods.
Adding preset-env to next/babel fixed it for me (per linked comment):
Issue here: vercel/next.js#8175 (comment)
babel/preset-env
withnext/babel
will result in instantiation issues with class components. Class components are still necessary in order to extend wrappers(app, doc) and utilize NextJS lifecycle methods.Adding
preset-env
tonext/babel
fixed it for me (per linked comment):The text was updated successfully, but these errors were encountered: