Reset, reset

This commit is contained in:
2018-04-28 17:13:56 +10:00
parent 63d1e21b9a
commit 5eb4d7ee4f
124 changed files with 0 additions and 5899 deletions

View File

@@ -1,31 +0,0 @@
'use strict';
import 'babel-polyfill';
import React from 'react';
import ReactDOM, { render } from 'react-dom';
import { createStore, applyMiddleware } from 'redux';
import { Provider } from 'react-redux';
import { HashRouter, Route, Switch } from 'react-router-dom';
import App from './App.jsx';
import Styles from './styles/index.scss';
import rootReducer from './reducers/rootReducer';
require('./../common/Object');
require('./../common/HTMLElement');
//Create our store
const store = createStore(rootReducer);
const unsubscribe = store.subscribe(() => {
console.log(store.getState());
});
//Render app and supply provider for store.
render((
<Provider store={store}>
<HashRouter>
<App />
</HashRouter>
</Provider>
), document.getElementById("app"));