The initial load time in React-Native is not the greatest.
In my app I do data fetching, checking that tokens are good, etc… on startup, and based on that I either throw the user on login screen or the main screen.
I had an idea. What If I initialized the client on the native side (both iOs and Android) do the initial logic there and in the meanwhile load the JS so I can immediately render the correct screen. When the JS has been initialized then I would somehow extend the native client or initialize a new one so I can use the React version of the Apollo Client.
What are your thoughts?
Would the initial load time be faster?
Is it possible to extend the react Apollo Client with the native one?