justin-chu / react-fast-marquee

A lightweight React component that harnesses the power of CSS animations to create silky smooth marquees.
https://react-fast-marquee.com
MIT License
1.16k stars 95 forks source link

Marquee throws an error in ESM projects #85

Open KostarSf opened 10 months ago

KostarSf commented 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

markqq commented 9 months ago

Downgrade Webpack to 4 solved my problem.

danteissaias commented 6 months ago

Getting this error in Next.js whether project is ESM or not.