Skip to content

aeprodigy/react_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a REact js Calculator App

This App uses a reducer to manage all the different states.

useReducer state. the useReducer state is as written below.>>

const [state, useState] = useReducer(reducer, {});

this reducer state takes in a function called reducer. which takes in the ({currentOperand, prevOperand, operation}, action) the state and action done.

The first state of the app is the previous operand.

then the current operand of the data input.

About

This is a React js Calculator App

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published