Real time sync across multiple users/instances of a single app

Hi, I would like to have some data synced up among different users of the same app. Simple example is when user A is accessing a row in table, this row select should ideally get disabled for other users until user A selects another row. From the docs, I understand this can be done through localStorage. But how can the value in localStorage be shared across multiple instances? Since this is for a short period, DB operations would be very high for this.
Thanks in advance.

You can't share local storage across multiple devices - it's data stored in the browser.

You need to handle this at the source (the database), and this isn't nearly as high intensity for a database as you might be scared of :-).

1 Like