Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

Can I update array-data dynamically? #12

Open
vishalTechnoFreek opened this issue Jul 27, 2017 · 3 comments
Open

Can I update array-data dynamically? #12

vishalTechnoFreek opened this issue Jul 27, 2017 · 3 comments

Comments

@vishalTechnoFreek
Copy link

Thanks for the great module. I am trying to replace an array that provides data to swiper cards. I tried it using setState() inside onFinish() function. But it is not working.

@chitezh
Copy link
Owner

chitezh commented Mar 9, 2018

It's not possible as is, but you can fork and make an easy change to achieve that.

Just add componentWillReceiveProps and update the card state

@pcg92
Copy link

pcg92 commented Mar 9, 2018

I need to do something like tinder with infinites swipes, adding data by lazy load and the card must have vertical scroll, do you think that i can achieve this with this lib? thanks

@chitezh
Copy link
Owner

chitezh commented Mar 9, 2018

Yes, but you have to fork it and make the necessary changes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants