react learning from DAC
Started learning react
The class component(statefull) extends React.Component class and renders the html body by render() method (we return html in render method).
The function component is just a normal function Which is Stateless component and directly returns the html body.
Statefull renders and manages the changes.
Stateless renders props without maintaining state.