joyent-portal/legacy/spikes/graphql/apollo-redux/src/app.js
Sérgio Ramos 8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00

20 lines
430 B
JavaScript

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;