-
Noticed this keyword Just wondering what would happen if theoretically in this code snippet. 1 call of // ...
push: async (changes) => {
...changes.added.map(async (item) => {
await fetch('https://api.example.com/todos', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
id: item.id,
text: item.text,
completed: item.completed,
}),
})
}),
},
// ... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Right now there is no "automatic" conflict resolution or error handling happing inside of the |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
The
SyncManager
has built-in conflict resolution.