Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 3e4bee3e9d344f738eb9c179921f75ccd8fb79c5 19 lines 371 B view raw
1import React from 'react'; 2import { Client, Provider, fetchExchange } from 'urql'; 3 4import FileUpload from './FileUpload'; 5 6const client = new Client({ 7 url: 'https://trygql.formidable.dev/graphql/uploads-mock', 8 exchanges: [fetchExchange], 9}); 10 11function App() { 12 return ( 13 <Provider value={client}> 14 <FileUpload /> 15 </Provider> 16 ); 17} 18 19export default App;