import React from 'react'; import { AppRegistry } from 'react-native'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import AppReducer from './src/reducers'; import { AppNavigator, middleware } from './src/navigators/AppNavigator'; const store = createStore(AppReducer, applyMiddleware(middleware)); class HuiLiaoApp extends React.Component { render() { return ( ); } } AppRegistry.registerComponent('HuiLiaoApp', () => HuiLiaoApp); export default HuiLiaoApp;