Wrapping mopidy service and connecting store

This commit is contained in:
James Barnsley
2016-10-03 16:55:33 +13:00
parent e0307f69e6
commit 12f07637ee
11 changed files with 106 additions and 61 deletions

View File

@ -1,4 +1,8 @@
/**
* Root level application
**/
import React, { PropTypes } from 'react';
import ReactDOM from 'react-dom';
import { createStore, bindActionCreators } from 'redux'
@ -9,16 +13,10 @@ import * as actions from '../actions/index'
import Services from '../services/Services'
/**
* The application 'brain'
*
* All data handling and fetching is done through this handler
**/
class App extends React.Component{
constructor(props){
super(props);
this.handleClick = this.handleClick.bind(this);
}