Skip to content

calorie data persists with the help of local storage#4

Open
gnaaruag wants to merge 1 commit intokarpathy:masterfrom
gnaaruag:master
Open

calorie data persists with the help of local storage#4
gnaaruag wants to merge 1 commit intokarpathy:masterfrom
gnaaruag:master

Conversation

@gnaaruag
Copy link

Refactored app to use local storage for:

  • Calorie count
  • Deficit goal
  • Last update time
  • data persistence on closure of web app

this change can act as a layer of security on accidental closure of the app upon which the user might loose an entire days progress.

we could also make it so it will reset itself at 12:00 in the morning but thats not in the scope of this pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments