React to data changes from other users
Add functionality to change state within our apps as data changes across other devices, asynchronously
Overview
A key factor for offline first data collection apps is the ability to sync data updates between devices. A great example is when multiple users are collaborating on the same data and progress updates should be shared between those users.
What we will accomplish
We will define a data object with a stucture of data that we want to sync between devices. We will build a workflow that loads those data objects in a way that will listen for updates as data syncs between the devices.
We will update UI in our workflow based on the changes. We will additionally discuss more advanced use cases such as updating locations on maps with this method.
Last updated