Mehdi9721 / React-DAC

react learning from DAC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React-DAC

react learning from DAC
Started learning react

React is a library not a framework;

Components

class Component AND Function Component

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 vs stateLess

Statefull renders and manages the changes.
Stateless renders props without maintaining state.

About

react learning from DAC