Open KostarSf opened 10 months ago
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
Demo Remix repo with this error: https://github.com/KostarSf/remix-rfm-error
Downgrade Webpack to 4 solved my problem.
Getting this error in Next.js whether project is ESM or not.
Demo Remix repo with this error: https://github.com/KostarSf/remix-rfm-error