Skip to content

prateeksantani/React-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In react everything is a Component

Step 1 create React app

npx create-react-app hello-world

Step 2 optionsl install typecript

npm i -g typescript

To create a react app with typescipt

npm create-react-app folder-name --template typescript

.jsx => stands for javascript xml

.tsx => stands for typescript xml

To use hooks import it

import React, {useState} from "react"; //useState hook

About

Documenting my journey of learning React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published