I assume you’re talking about conflicts from offline -> online?
This example is quite simple - it doesn’t work offline so it doesn’t have any risk of conflicts beyond the usual things a developer would face (2 ‘channels’ with the same name). This obviously sacrifices functionality for simplicity.
We plan to work on client/server conflict resolution at some stage but it’s a fairly deep hole so we need to plan out the best strategy (or multiple strategies?)
Firebase uses last write wins but they do have a backlog so the user can sync up. There is also a transaction () function for manual conflict handling. Perhaps you can automatically raise an exception in the event of conflicts.
A bit of feedback, the API looks fairly verbose compared to Firebase so a high level wrapper would be nice. Though that could simply be a side effect of Next.js being clunky.