facebook/flipper

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

Open

#1,898 opened on 2021年2月6日

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

説明

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

コントリビューターガイド