* spelling: accidentally * spelling: announce * spelling: assembly * spelling: avoid * spelling: backend * spelling: because * spelling: claimed * spelling: candidate * spelling: certification * spelling: certified * spelling: challenge * spelling: circular * spelling: it isn't * spelling: coins * spelling: combination * spelling: compliant * spelling: containers * spelling: concise * spelling: deprecated * spelling: development * spelling: donor * spelling: error * spelling: everything * spelling: exceed * spelling: exist * spelling: falsy * spelling: faulty * spelling: forward * spelling: handle * spelling: indicates * spelling: initial * spelling: integers * spelling: issealed * spelling: javascript * spelling: length * spelling: maximum * spelling: minimum * spelling: mutable * spelling: notifier * spelling: coordinate * spelling: passport * spelling: perform * spelling: permuter * spelling: placeholder * spelling: progressively * spelling: semantic * spelling: submission * spelling: submit * spelling: translations * spelling: turquoise * spelling: visualization * spelling: without * spelling: registration * spelling: representation
31 lines
718 B
JavaScript
31 lines
718 B
JavaScript
import { Component } from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import { bindActionCreators } from 'redux';
|
|
import { connect } from 'react-redux';
|
|
|
|
import { appMount } from '../redux';
|
|
|
|
const mapStateToProps = () => ({});
|
|
const mapDispatchToProps = dispatch =>
|
|
bindActionCreators({ appMount }, dispatch);
|
|
|
|
class AppMountNotifier extends Component {
|
|
componentDidMount() {
|
|
return this.props.appMount();
|
|
}
|
|
render() {
|
|
return this.props.render();
|
|
}
|
|
}
|
|
|
|
AppMountNotifier.displayName = 'AppMountNotifier';
|
|
AppMountNotifier.propTypes = {
|
|
appMount: PropTypes.func.isRequired,
|
|
render: PropTypes.func.isRequired
|
|
};
|
|
|
|
export default connect(
|
|
mapStateToProps,
|
|
mapDispatchToProps
|
|
)(AppMountNotifier);
|