react-native-flip-card icon indicating copy to clipboard operation
react-native-flip-card copied to clipboard

Keep state of component?

Open Doko-Demo-Doa opened this issue 7 years ago • 3 comments

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?

Doko-Demo-Doa avatar May 08 '17 08:05 Doko-Demo-Doa

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

moschan avatar May 26 '17 15:05 moschan

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?

JKonTiki avatar Jul 10 '17 22:07 JKonTiki

+1

abolinhas avatar Mar 13 '18 01:03 abolinhas