moschan / react-native-flip-card

The card component which has a motion of flip for React Native(iOS/Android)
MIT License
390 stars 108 forks source link

Keep state of component? #33

Open Doko-Demo-Doa opened 7 years ago

Doko-Demo-Doa commented 7 years ago

I'm using this library for my personal project. It's working great, but there's no option to persist state when flipping, isn't it?

moschan commented 7 years ago

hi @Doko-Demo-Doa Thank you for your issue. Give me some example for your usage? thanks.

JKonTiki commented 7 years ago

Hi there, maybe i can offer an example (have a similar issue). Every time I flip back and forth that component reconstructs itself instead remaining the same component. While I am not trying to persist state, the back of my card contains a WebView component that, because it reconstructs, has to reload the same webpage multiple times. Might you know of a good way to somehow preserve that component whilst it awaits on the back of my card?

abolinhas commented 6 years ago

+1