// So you want to learn react fellow web dev?
// Well before you must be experienced in JS
// You can learn from https://reactjs.org/tutorial/tutorial.html
// Summary:
// React is a component based framework, you can create components,
// which are individual html objects with their own state:
// props are some kind of arguments to pass from component to component
// Function component
function Component (props) {
return <p>Hello {props.name}</p>
}
// Class component
class Component {
constructor(props) {
super(props);
this.state = {};
}
render() {
return <p>Hello {this.props.name}</p>
}
}