facebook/flipper

Question: Is it possible to notify database plugin that database has been updated.

Open

#1.898 geöffnet am 6. Feb. 2021

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (13.028 Stars) (972 Forks)batch import
enhancementgood first issuehelp wanted

Beschreibung

Whenever we switch to the database plugin or if we click on the refresh button

connection.receive(
        DATABASE_LIST_COMMAND,
....

is called thus, the info about our database is updated in the desktop client.

Is it possible to do the other way around, that is, notify the client that it should update the UI because our database has changed, thus not requiring to press the refresh button to see the most up to date information?

Thanks

Contributor Guide