/react-hooks-calculator

A React App built from scratch without using external libraries, and fully supporting manual calculations. The useReducer Hook is implemented to handle a variety of actions.

Primary LanguageJavaScript

This is a calculator made using React and one of it's hooks i.e useReducer.

This calculator includes all basic functions such as:

  1. Addition
  2. Subtraction
  3. Multiplication
  4. Deletion

The useReducer allows various actions by implementing the reducer functions to handle all required actions involving clearing output, choosing digits and operations.

This project has all node modules installed.

In the project directory, you can run:

npm start

You can also test it using the website link attached on the right, it has been deployed on GitHub pages.