Created
November 26, 2018 17:13
-
-
Save stubailo/0d1ff3491c123d1d4be436c270d93aeb to your computer and use it in GitHub Desktop.
Revisions
-
stubailo renamed this gist
Nov 26, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
stubailo created this gist
Nov 26, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ const LoadingProvider = (props) => { const link = new ApolloLink((operation) => { return new Observable(() => {}); }); const client = new ApolloClient({ link, cache: new InMemoryCache(), }); return ( <ApolloProvider client={client}> {props.children} </ApolloProvider> ); };