Skip to content

Instantly share code, notes, and snippets.

@sankalpsingha
Created March 24, 2017 18:29
Show Gist options
  • Save sankalpsingha/a1812547d985dc6e6cc498189c52f402 to your computer and use it in GitHub Desktop.
Save sankalpsingha/a1812547d985dc6e6cc498189c52f402 to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import { View } from 'react-native';
import { createStore, applyMiddleware } from 'redux';
import { logger } from 'redux-logger';
import { Provider } from 'react-redux';
import Reducers from './reducers/';
import LoginForm from './components/LoginForm';
class App extends Component {
render() {
return (
<Provider store={createStore(Reducers, applyMiddleware(logger))}>
<View>
<LoginForm />
</View>
</Provider>
);
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment