-
Hi all, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @adumat, currently in the new architecture you still need to make such workaround, as React Native itself cannot recreate the fragment from savedInstanceState, as it will have to dump the whole JS virtual machine. Also, as react-native-screens creates native components, they just save unwanted things that we don't want to recreate in Cheers 🤞 |
Beta Was this translation helpful? Give feedback.
Hi @adumat, currently in the new architecture you still need to make such workaround, as React Native itself cannot recreate the fragment from savedInstanceState, as it will have to dump the whole JS virtual machine. Also, as react-native-screens creates native components, they just save unwanted things that we don't want to recreate in
onCreate
method - that's why for now you need to passnull
to the super.onCreate.Cheers 🤞