"Class constructor Swiper cannot be invoked without 'new'" #7919
Unanswered
sunilkate08
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I am getting this error in console, "Class constructor Swiper cannot be invoked without 'new'"
Swiper version 11
React Version 19
File Code Exmaple:
import { Swiper as SwiperComponent, SwiperSlide, Pagination } from "swiper"
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions