Skip to content

leo-esaki/react-redux-ramda-calc

Repository files navigation

React Calculator

A calculator built with React, Redux, Ramda and point free functional programming.

Features

  • Point-free functional programming with Ramda.
  • Math expression evaluation based on Math.js.
  • Uses Redux for validating pressed keys and calculating expressions while typing. Default keys for basic arithmetic calculations, but easy to customize the allowed keys (see initialState.js).
  • Theme switching based on Redux, a custom <ThemeManager> component and Radium.
  • Based on react-redux-starter-kit.

Usage

git clone [email protected]:kenyoshida612/react-calculator.git
cd react-calculator
npm install
npm run dev

Go to http://localhost:3000/

Tests

Watch for changes and re-run tests:

npm run test:dev

Run tests once and generate coverage report:

npm run test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published