Closed DocSJ1980 closed 1 year ago
try to use 'use client' on the first line of the component using this lib
@LouisMuriuki can you please add an example Edit: nevermind, example:
'use client';
// the rest of the code
This is still an issue if you want to have the carousel rendered at the server side ( don't want to 'use client') for SEO purposes for example...
try to use 'use client' on the first line of the component using this lib
I dont know how to use it! in my homepage doesn't work but in the rest of the page does for example about
try to use 'use client' on the first line of the component using this lib
I dont know how to use it! in my homepage doesn't work but in the rest of the page does for example about
Thanks ❤ @LouisMuriuki
Uncaught TypeError: Super expression must either be null or a function, not undefined at _inherits (webpack-internal:///(sc_server)/./node_modules/react-responsive-carousel/node_modules/react-easy-swipe/lib/react-swipe.js:74:19) at eval (webpack-internal:///(sc_server)/./node_modules/react-responsive-carousel/node_modules/react-easy-swipe/lib/react-swipe.js:122:9) at Object.eval (webpack-internal:///(sc_server)/./node_modules/react-responsive-carousel/node_modules/react-easy-swipe/lib/react-swipe.js:290:6) at eval (webpack-internal:///(sc_server)/./node_modules/react-responsive-carousel/node_modules/react-easy-swipe/lib/react-swipe.js:9:35) at eval (webpack-internal:///(sc_server)/./node_modules/react-responsive-carousel/node_modules/react-easy-swipe/lib/react-swipe.js:12:3) at (sc_server)/./node_modules/react-responsive-carousel/node_modules/react-easy-swipe/lib/react-swipe.js (file://C:\Users\Hp Pavilion\Documents\MERNStack\sjEcom\nextjs.next\server\app\page.js:2683:1) at __webpack_require__ (file://C:\Users\Hp Pavilion\Documents\MERNStack\sjEcom\nextjs.next\server\webpack-runtime.js:33:43) at eval (webpack-internal:///(sc_server)/./node_modules/react-responsive-carousel/node_modules/react-easy-swipe/lib/index.js:5:13) at eval (webpack-internal:///(sc_server)/./node_modules/react-responsive-carousel/node_modules/react-easy-swipe/lib/index.js:11:3) at (sc_server)/./node_modules/react-responsive-carousel/node_modules/react-easy-swipe/lib/index.js (file://C:\Users\Hp Pavilion\Documents\MERNStack\sjEcom\nextjs.next\server\app\page.js:2673:1)