Skip to content

Instantly share code, notes, and snippets.

@sweatC

sweatC/App.js Secret

Last active May 28, 2020 13:03
Show Gist options
  • Save sweatC/3943f14e0fcdd5de5775d8345c3bc393 to your computer and use it in GitHub Desktop.
Save sweatC/3943f14e0fcdd5de5775d8345c3bc393 to your computer and use it in GitHub Desktop.
Entry point. App component.
import React, { Component } from 'react';
import { Provider } from 'react-redux';
import { Root } from 'native-base';
import createAppStore from './createAppStore';
import AppRouter from './AppRouter';
const store = createAppStore();
class App extends Component {
render() {
return (
<Provider store={store}>
<Root>
<AppRouter />
</Root>
</Provider>
)
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment