3 ms·
I was confused at first because I saw nothing in the Network tab of the browser dev tools. But I figured it out; opening the dev tools for the shared worker, o
by sureglymop 2y ago
I was confused at first because I saw nothing in the Network tab of the browser dev tools.
But I figured it out; opening the dev tools for the shared worker, one can see that it does a websocket connection upgrade when the page is reloaded.
The github reads "designed to synchronize web application state". But, what if I also have e.g. an Android app and would like to synchronize state with it also? Is that out of scope or something considered for the future?
Edit: This issue seems promising: https://github.com/orbitinghail/sqlsync/issues/46 https://github.com/orbitinghail/sqlsync/issues/46
- carlsverre 2y agoGlad you figured it out! I wish shared worker debugging was more obvious tbh, but oh well. Yes, that's in the roadmap and will be much easier to do once I release the new storage engine I'm building. It's going to be a native vanilla SQLite extension which will be trivial to integrate into any environment that can already run SQLite (assuming the env allows extensions).