Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use HiveDB (in place of sembastDB) for better Offline Performance and implement WeekMenu persistence. #6

Open
itsdarshankumar opened this issue Oct 22, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@itsdarshankumar
Copy link

pub.dev - https://pub.dev/packages/hive
docs - https://docs.hivedb.dev/#/

Store every week's menu fetched in localStorage against the week_id in HiveDB.
Whenever week's menu is requested, fetch from local storage first and if null then go ahead with the API call.
API call for the corresponding week_id is anyways made to update the week menu stored in the localStorage.

@itsdarshankumar itsdarshankumar added the enhancement New feature or request label Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant