Skip to content

My first React app, this project is a simple counter app where you can increment (+1) or decrement (-1) the counter, or reset it to its default value.

Notifications You must be signed in to change notification settings

juan18506/react-counter-app

Repository files navigation

React Counter App

My first React app, this project is a simple counter app where you can increment (+1) or decrement (-1) the counter, or reset it to its default value.

Live Site Github Repository

I learned about

  • React entry point
  • Functional components
  • JSX
  • CSS import
  • React render behaviour
  • Component props
  • Prop-types
  • defaultProps
  • useState hook
  • Testing Javascript with Vitest
  • Testing react with React Testing Library

Author

Juan Alves Pedreira

Installation and usage

Runing the project

Clone this repository:

git clone https://github.com/juan18506/react-counter-app.git
cd react-counter-app

Install packages :

pnpm install

When installation is complete, run :

pnpm run dev

To run tests:

pnpm run test

About

My first React app, this project is a simple counter app where you can increment (+1) or decrement (-1) the counter, or reset it to its default value.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published