Replies: 10 comments 8 replies
-
Aditionally, I tried to implement the swiper-elements version in my project but the solution does not seem to support TypeScript at the moment. It requires a lot of workarounds :( |
Beta Was this translation helpful? Give feedback.
-
I aggree with you, it would be nice to know the reasons... |
Beta Was this translation helpful? Give feedback.
-
I agree. Can't understand what is the reason to change something that imo currently seems to work pretty well to something that, as the previous speakers mentioned, it requires painful tweaking the code for hours. |
Beta Was this translation helpful? Give feedback.
-
@nolimits4web would it be possible to get an answer for this? Thanks in advance! 😄 |
Beta Was this translation helpful? Give feedback.
-
I really wonder why this moved to web components, and I cannot find a working example of react + typescript stack. More specifically, I'm looking for react + typescript + tailwind wokring examples. I really liked this project, but it's really unusable at this point. |
Beta Was this translation helpful? Give feedback.
-
I tried the web component version in my next.js app and lots of things were broken with carousels not initialized, and no TS support. I hope there is still support for React SwiperJS or if someone can maintain a fork of it otherwise the adoption would be reduced to this complexity in setting up for react projects |
Beta Was this translation helpful? Give feedback.
-
I also tried to use the web component in my React project, but I still couldn't get it to work, so I'm just hoping that this announcement will be retracted and continue to use the 10 version. I also don't understand the reason at all, since React is not just any framework. |
Beta Was this translation helpful? Give feedback.
-
I really tried also with this tutorial |
Beta Was this translation helpful? Give feedback.
-
I'd like to know this too. Just doesn't make sense. It's almost infinitely harder to implement the Element solution instead of just throwing the react component inside. And I have yet to come across a SINGLE project that uses swiper with webcomponents. It's probably a weird fantasy of someone to use Web Components. I fail to see any reasonable thought behind this. |
Beta Was this translation helpful? Give feedback.
-
It's been six months since my last post (comment) and 1,5 years since I posted this discussion. I've noticed something. If you go to the old docs https://v9.swiperjs.com/react it still says:
In the new docs https://swiperjs.com/react that paragraph has been removed. Question 1: So which one is it - will Swiper React Components be removed - yes or no? Thanks! |
Beta Was this translation helpful? Give feedback.
-
I can't seem to find any info on this. If there is can someone please point me to it? If not, what is the reason behind this change? Is there some thread in Issues or Discussions or somewhere else? I'm really interested in knowing why the React component has been deprecated in favor of a WebComponent.
Also, it would be nice that on this page
https://swiperjs.com/react
there was a link or an info box where it says why this change was made. So if possible, could someone please add it?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions