Could someone please share an example for how to add a custom loading component to the
I @lolcoolkat , let me know if this works for you:
const WithProvider = () => (
<ApolloProvider client={client}>
<Rehydrated render={({ rehydrated }) => (
rehydrated ? <App /> : <strong>I am loading...</strong>
)}>
</Rehydrated>
</ApolloProvider>
);
export default WithProvider;
Yes works @manueliglesias :D Thank you!
Most helpful comment
I @lolcoolkat , let me know if this works for you: