React Components Template
React Components Template
"use strict";
/**
*
* @author xgqfrms
* @license MIT
* @copyright xgqfrms
* @created 2018.01.01
* @modified 2018.01.01
*
* @description React Components Template
* @augments
* @example
*
*/
import React, { Component } from 'react';
import PropTypes from 'prop-types';
class APP extends Component {
constructor(props) {
super(props);
}
componentWillMount() {
}
componentDidMount() {
}
componentWillReceiveProps(nextProps) {
}
shouldComponentUpdate(nextProps, nextState) {
}
componentWillUpdate(nextProps, nextState) {
}
componentDidUpdate(prevProps, prevState) {
}
componentWillUnmount() {
}
render() {
return (
<div>
<h1> Hello World!</h1>
<p>React Components Template</p>
</div>
);
}
}
APP.propTypes = {
title: PropTypes.string,
};
export default APP;
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/10179024.html
未经授权禁止转载,违者必究!