---
title: "Discussion on \"Null Is Not Zero: Building an Honest \"Time Back\" Estimator in React With localStorage\" | Hashnode"
description: "Discussion on \"Null Is Not Zero: Building an Honest \"Time Back\" Estimator in React With localStorage\". We're the Start Quitting Smoking team, and we're building startquittingsmoking.com for the Ship or Die $100K hackathon. It's a small React app with a free, no-signup 30-day taper calculator and a loca"
url: "https://hashnode.com/posts/null-is-not-zero-building-an-honest-time-back-estimator-in-react-with-localstorage/6afc2ba55bae59c0d6dd1883"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Null Is Not Zero: Building an Honest "Time Back" Estimator in React With localStorage](https://startquittingsmoking.hashnode.dev/null-is-not-zero-building-an-honest-time-back-estimator-in-react-with-localstorage?utm_source=hashnode&utm_medium=feed)

We're the Start Quitting Smoking team, and we're building startquittingsmoking.com for the Ship or Die $100K hackathon. It's a small React app with a free, no-signup 30-day taper calculator and a loca

4h ago · 7 min read · startquittingsmoking.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#hackathon](https://hashnode.com/tag/hackathon)
-   [#build-in-public](https://hashnode.com/tag/build-in-public)

## Written by

[Start Quitting Smoking](https://hashnode.com/@startquittingsmoking)

@startquittingsmoking

  
[View profile](https://hashnode.com/@startquittingsmoking)

Free 30-day taper calculator + simple tracker for cutting down cigarettes, vapes, or weed. Built for the Ship or Die hackathon.

## Responses 1

Markdown supported · ⌘↵ to post

[Praneet Brar](https://hashnode.com/@praneetbrar)

[2h ago](https://hashnode.com/posts/null-is-not-zero-building-an-honest-time-back-estimator-in-react-with-localstorage/6afc2ba55bae59c0d6dd1883/comment/6afc4ae996c3ae41d26908e4)

I like how you keep the raw input as a string and use null for “not entered”; it stops a blank field from quietly becoming a fake zero. The note that overlapping habits aren’t counted also makes the estimate’s limits clear. How did you settle on the “time back with people” wording?
