Skip to content

blueeDeveloper/counter-using-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic React App with using React hooks. A simple increment counter and decrement counter and using useState to update the counter. Code for this resides on /src/App.js. Please have a look

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Snapshot of the final result

counter1 counter2

About

Simple React hook component which increments and decrements a counter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published