Virtual slides with dynamic data fetched from data source in React #4740
Unanswered
simplecommerce
asked this question in
Q&A
Replies: 1 comment 3 replies
-
you question is don't know how render new data after previous data is the best behind. me too confused |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using React and I am trying to find an example on how to load slides dynamically after fetching them from a query from my data source.
I was thinking I would have to use virtual slides.
But your example seems to be automated and doesn't allow me to use
renderExternal
to fetch the data.This is the example I am looking at: https://swiperjs.com/react#virtual-slides
What I want is to load by default X amount of slides, but when they click next, if they reach near the end, it will fetch the remote to see if there is additional data and update the slides.
I might be missing something or not understanding it correctly.
Hope you can point me out in the right direction.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions