add react-express-mysql application sample

Signed-off-by: Anca Iordache <anca.iordache@docker.com>
This commit is contained in:
Anca Iordache 2020-03-05 18:40:44 +01:00
parent 0d06c37791
commit 43f21f2d8d
46 changed files with 4786 additions and 0 deletions

View file

@ -0,0 +1,26 @@
import * as React from "react";
import { connect } from "react-redux";
require("./home.scss");
const mapStateToProps = (state, props) => {
return {};
};
const mapDispatchToProps = (dispatch) => {
return {};
};
class HomePage extends React.Component {
render() {
return (
<div className="home-page page">
<h1>My New React App</h1>
</div>
)
}
}
export default connect(mapStateToProps, mapDispatchToProps)(HomePage)