firebase-user·há 5 anos·discussYou should try using Firebase. It handles the data-sync for you, and it applies all updates locally first so that your app feels snappy.