react-freeze icon indicating copy to clipboard operation
react-freeze copied to clipboard

Freeze snapshot

Open ethanshar opened this issue 4 years ago • 4 comments

It would have been great if freezing a component will generate some sort of a non-reactive snapshot that can be displayed instead of returning null. That would great with showing temporarily blanks screens/components till they get unfreeze

ethanshar avatar Nov 14 '21 10:11 ethanshar

Not sure if this is possible, but it would be awesome.

One (hack) idea could be to use react-native-view-shot to capture an image onBlur, and render that as the fallback.

nandorojo avatar Dec 04 '21 16:12 nandorojo

It would have been great if freezing a component will generate some sort of a non-reactive snapshot that can be displayed instead of returning null. That would great with showing temporarily blanks screens/components till they get unfreeze

I was under the impression that this library was for this thing. I got my hopes high. But anyway, it would be great if we could display the snapshot until the interaction manager is complete. This would be game changer specially for Android.

niraj-khatiwada avatar May 09 '22 09:05 niraj-khatiwada