Open aboodman opened 2 years ago
If we do this we should probably put the logic in ConnectionLoop
We could also potentially only do this in debug mode.
We could also potentially only do this in debug mode.
It would also help a lot for demos, e.g.., replicache-todo. People frequently disconnect network on their device to test these demos. It will be more satisfying demo if sync happens immediately on reconnect.
If we do this we should probably put the logic in ConnectionLoop
👍
This is marginally useful in the real world, but during development is very useful. Devs frequently use the "offline" feature when developing or testing and it would be great if Replicache came back right away from being offline when this happened.