lhandel / react-native-card-stack-swiper

Tinder like react-native card stack swiper
MIT License
420 stars 127 forks source link

How to refresh particular card? #93

Open mitesh-db opened 2 years ago

mitesh-db commented 2 years ago

Hey @lhandel , Great work by you in this package, I really appreciate your effort.

Does anyone know how can I refresh only a single card somehow?

Thanks in advance!

sanketk478 commented 2 years ago

same issue..

artfxx commented 2 years ago

const [cards, setCards] = useState([ { key: 0, text: 'test' }, { key: 1, text: 'test' }, { key: 2, text: 'test' }, ]);

return (

( No more cards :( )} ref={swiperRef} > {cards.map((card, index) => { return ( {card.text}
artfxx commented 2 years ago

carbon