Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Make app "listen" and smartly update when data is added/edited/deleted #249

Open
blimpich opened this issue Jul 27, 2019 · 1 comment
Open
Assignees
Labels
feature New feature or request performance deals with efficiency issues or bottlenecks usability issues related to making the app easier to use

Comments

@blimpich
Copy link
Collaborator

This'll do two things:

  1. add ability for app to "listen" to changes on db, ie if someone somewhere adds a shipment it should show up on Jeff's table without him having to refresh the page
  2. currently when you edit/add/delete a shipment, it sends that request to the db, and the app then requests the entire shipment table from firebase and then updates the state on the frontend. This should make it so that when a table is added-to/edited/deleted from it'll smartly update the state of the app instead of reloading the entire table from firebase.

This update will greatly increase the performance of the app and also greatly reduce the bandwidth of the app, making it cheaper to run.

@blimpich blimpich added feature New feature or request usability issues related to making the app easier to use performance deals with efficiency issues or bottlenecks labels Jul 27, 2019
@blimpich blimpich self-assigned this Jul 27, 2019
@blimpich
Copy link
Collaborator Author

blimpich commented Sep 1, 2019

the only "good" way of doing this is by migrating over to cloud firestore, realtime database is too limited and is not designed for this type of applicaiton

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request performance deals with efficiency issues or bottlenecks usability issues related to making the app easier to use
Projects
None yet
Development

No branches or pull requests

1 participant