yorkie-js-sdk icon indicating copy to clipboard operation
yorkie-js-sdk copied to clipboard

Prevent `remote-change` event in `RealtimeSyncOff` mode

Open chacha912 opened this issue 1 year ago • 0 comments
trafficstars

What happened:

In the RealtimeSyncOff mode, the remote-change event is triggered unexpectedly. Previously, in #758, the remote-change event was prevented in the pushonly mode, and a similar solution is needed for the RealtimeSyncOff mode.

What you expected to happen:

Remote change events should not occur in RealtimeSyncOff mode.

How to reproduce it (as minimally and precisely as possible):

This issue occurs when switching from pushpull mode to RealtimeSyncOff mode before receiving a response to the sync request.

Anything else we need to know?:

Environment:

  • Operating system:
  • Browser and version:
  • Yorkie version (use yorkie version):
  • Yorkie JS SDK version:

chacha912 avatar May 27 '24 01:05 chacha912