Next.js: The default export is not a React Component

Created on 28 Jan 2019  路  2Comments  路  Source: vercel/next.js

Create a link /displays and an empty file in pages/displays/index.js

Navigate via the link, notice that an error shows in the console, the browser URL bar updates but the page does not.

Expected behavior

The browser should show the error instead of it being hidden in the console.

System information

  • macOS
  • Chrome
  • Next 7.0.2
needs investigation

Most helpful comment

@ijjk I am having the same issue with next 7.0.2 after upgrading react-redux to 7.1.0 and using React.memo

All 2 comments

This issue has been resolved in the latest version of Next.js. I'm going to close this issue now, if you are still having trouble feel free to comment.

@ijjk I am having the same issue with next 7.0.2 after upgrading react-redux to 7.1.0 and using React.memo

Was this page helpful?
0 / 5 - 0 ratings