How PocketSync handles conflicts
Strategy | Description | Use Case |
---|---|---|
lastWriteWins (Default) | Most recent change based on timestamp wins | General purpose, when recent changes are typically more relevant |
serverWins | Remote changes always take precedence | When the server is considered the source of truth |
clientWins | Local changes always take precedence | When local user actions should override server changes |
custom | Uses a developer-provided resolver function | Complex scenarios requiring application-specific logic |