react-native-carousel-view
react-native-carousel-view copied to clipboard
Force Re-render Carousel
Hi,
First, thanks for this amazing plugin. I'm currently challenge by this issue. Is there any way to actively re-render the carousel? Inside my carousel, there are several components that changes values which updates there respective views. But every time I re-loop the new data. It only renders the updated data on the second instance.
Please help.
Thanks!
I am facing the same issue. Tried everything but re-rendering of carousel is not working.
Hi @devendrabhandar, I was not able to solve this. But what I did is I've used a different Carousel Plugin. Use this instead https://github.com/leecade/react-native-swiper.
Thanks @dsc-bon I will try that one.
To fix this issue, just give the component a new key prop like
<Carousel key={newId} />