Skip to content

hduru/counter_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Counter Example

This is a small counter example with React. This app includes a simple component and a stateful component. This project was bootstrapped with Create React App. Before start:

You’ll need to have Node >= 14 on your local development machine. Install the latest or LTS version of Node.js

If using nvm:

nvm install lts
nvm use lts

Check versions with node -v

Install this project

  1. git clone https://github.com/hduru/counter_example.git
  2. cd counter_example
  3. npm install
  4. npm start

Then open http://localhost:3000/ to see counter example.

The basic building blocks used in the project:
  • Component (Lifecycle)
  • Props (PropTypes, DefaultProps)
  • State (useState, useEffect, PreviousState)

Note : Review your Javascript knowledge

References

About

A small counter example with React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published