-
Hi all, |
Beta Was this translation helpful? Give feedback.
Answered by
tboba
Oct 23, 2023
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.
0 replies
Answer selected by
tboba
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to 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
onCreate
method - that's why for now you need to passnull
to the super.onCreate.Cheers 🤞