Shanisoni / Learning-React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flow =>

Index.js file fetches the root element from the index.html file

then it makes it its root element as React Root Element

It performs it by replacing the div with the reacts root element

After that it renders the App.js file in that root element

In React js by default all the event handlers are managed by props

and these props are strted by OnClick and at its end we use handler .

Hooks are the utility function in the react

and useState is one of the function .

UseState returns two values 1 value of the variable 2nd function that updates the value of the variable

StateChanges are per Component bases

About


Languages

Language:JavaScript 54.8%Language:HTML 28.8%Language:CSS 16.3%