mzrimsek / track-my-playtime

A time tracking app for video games.
https://trackmyplaytime.com
MIT License
4 stars 3 forks source link

Add a mechanism to determine which connected clients should receive updates #187

Open mzrimsek opened 4 years ago

mzrimsek commented 4 years ago

Currently any change to an item stored in Firebase triggers a refresh of that data, the idea being that all open instances of the site (on multiple devices usually) will be in sync at all times.

I propose there should be a way to identify all of a user's connected instances because only the ones that did not originate the update need to pull changes from Firebase.