Git Product home page Git Product logo

in-total's Introduction

GitHub Repo stars Pull Requests

About


While diving deeper and deeper into React, I read something about a 3kb variant of React named Preact! My eagerness made me open the the link and create a template application using the CLI commands. A few days of exploration and understanding made me realize that this micro version of React can actually do some really cool stuff, or I should say, everything that React can do. Plus, it comes with router built right into it!

I then decide to make a very basic application to understand a few aspects of this library like, how its router works, how to manage pages and how to work with states and other hooks. So, I made this very basic calculator application. Yes, it is super basic application, I mean, what else can you think when you are presented with a "calculator". But, I was quite excited to build this as I wanted to trace a really cool UI design made by Ana Clara. I then made a few changes to the origin design according to the features and came up with this application!

It took me around 5 hours to complete this application (20-30 mins a day for 10 days ๐Ÿ˜‰)



Have a look into the features!


in total by Varchasvi Pandey



  • Perform simple Math using efficiently designed UI
  • Keyboard support for desktop users
  • History section to keep a track of all your calculations
  • Dark and light mode
  • Available as PWA, get a native application experience



CLI Commands


# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# test the production build locally
npm run serve

# run tests with jest and enzyme
npm run test

For detailed explanation on how things work, checkout the CLI Readme.

in-total's People

Contributors

varchasvipandey avatar

Stargazers

Dheeraj Mahra avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.