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

Should only save when changes are made #148

Open
sandymash opened this issue Sep 13, 2020 · 0 comments
Open

Should only save when changes are made #148

sandymash opened this issue Sep 13, 2020 · 0 comments

Comments

@sandymash
Copy link
Contributor

current behaviour:

  • on tab switch all tab data is saved

problems with said behaviour:

  • redundant post requests are made, making the app slower and also making pointless calls to api
  • saving viewing user as updater each time despite not having necessarily updated anything
  • gonna complicate subscriptions in the future

suggested behaviour:

  • separate fetched state and pending changes and only update pending changes
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

No branches or pull requests

1 participant