import * as React from 'react' ; import * as ReactDOM from 'react-dom' ; import { Provider } from 'react-redux' ; import { createStore } from 'redux' ; import App from './App' ; import appReducer , { initialState } from 'reducer' ; import './index.css' ; import './styles/semantic.min.css' ; const store = createStore ( appReducer , initialState ) ; ReactDOM . render ( < Provider store = { store } > < App /> < /Provider>, document.getElementById('root') as HTMLElement);