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.
- 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
Juan Alves Pedreira
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