1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-11 05:40:11 +02:00
copilot/spikes/graphql/apollo-redux/src/app.js

20 lines
430 B
JavaScript
Raw Normal View History

import React, { Component } from 'react';
import { ApolloProvider } from 'react-apollo';
import { client, store } from './state/store';
import Router from './routing/routes';
class App extends Component {
render() {
return (
<ApolloProvider client={client} store={store} >
<div>
<h2>Apollo Redux Spike</h2>
{Router}
</div>
</ApolloProvider>
);
}
}
export default App;