Replies: 2 comments 6 replies
-
Depends on your server. If you're using Firebase, you can set up snapshot listeners that get notified when the data changes. If you built your own REST API, you might either poll the endpoint in regular intervals (not recommended if you have a lot of users and need to poll a lot) or have the endpoint set up a websocket that sends a notification about the update (which essentially is what Firebase does). |
Beta Was this translation helpful? Give feedback.
-
I would like to ask about the solution for manual refresh. I use VInfiniteScroll with PullToRefresh, and it will reload when you pull down to refresh. It is best to call a function to complete this task. Currently, :key is used to solve this problem. |
Beta Was this translation helpful? Give feedback.
-
When the server data is updated, how can I reload to get the latest data?
Beta Was this translation helpful? Give feedback.
All reactions