facebook/flipper

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

Open

#1898 opened on Feb 6, 2021

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (13,028 stars) (972 forks)batch import
enhancementgood first issuehelp wanted

Description

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