Skip to content

The main purpose is to understand and apply the concepts of useState in ReactJS

Notifications You must be signed in to change notification settings

mohitjaiswal28/React-Counter

Repository files navigation

React Counter

This repository contains a simple React counter component. The counter allows users to increment and decrement a numerical value by clicking the "+" and "-" buttons. It demonstrates the use of React hooks for state management and custom button components for handling click events.

Demo

Demo Image -

Deploy Link

Deploy Link

Features

  • Increment and decrement functionality
  • State management using React's useState hook
  • Modular button component

Installation

  1. Clone the repository:
https://github.com/mohitjaiswal28/React-Counter
  1. Navigate to the project directory:
cd React-Counter
  1. Install the dependencies:
npm install
  1. Run the development server:
npm start

Usage

Simply click the "+" button to increase the count and the "-" button to decrease the count.

About

The main purpose is to understand and apply the concepts of useState in ReactJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published