Skip to content

new architecture and activity resume #1916

Closed Answered by tboba
adumat asked this question in Q&A
Discussion options

You must be logged in to vote

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 pass null to the super.onCreate.

Cheers 🤞

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tboba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants