import * as React from 'react'; import { connect } from 'react-redux'; function Spinner(props){ return ( ) } module.exports.Spinner = Spinner; class Loading extends React.Component { constructor(props) { super(props); this.componentName = "[Loading.jsx] "; } render() { console.log(this.componentName + 'render'); return (
); } } function mapStateToProps(state) { return { loadingState: state.app.loadingState, } }; export default connect(mapStateToProps, null)(Loading);