when Native starts a js page (a mReactRootView proxy js page of Activity starts on Android), mReactRootView.startReactApplication () starts very slowly and will blacken the screen for about a second. It is said on the Internet that mReactRootView.startReactApplication takes a long time . The solution can preload and execute mReactRootView.startReactApplication; in advance.
but there are a lot of such interactions in our App. Preloading when app starts is bound to consume a lot of resources, and there is no guarantee that all modules have been preloaded before the user clicks. What shall I do? Is there an official solution.
Why does the navigation of ReactNavigation not go black? is it because they don"t start a new Activity? do they start a new Fragment in the original Activity? how to emulate it?
Thank you