by m11a on 4/24/2020, 1:32:44 PM
They're using websockets I believe.
Look in the network tab for .ws (hosted on Firebase). You can inspect the messages using Chrome. It sends updates for every change to a block you make.
by Nextgrid on 4/24/2020, 12:50:52 PM
A websocket? I'm assuming that once the websocket is open, any future traffic inside wouldn't be logged in the developer tools?
by dylz on 4/24/2020, 3:16:05 PM
Websockets probably. The built JS contains references to both WebSocket and Firebase.
I’ve been trying to figure out how Roam Research (https://roamresearch.com/) sends data back and forth from and to the server.
The app seems very responsive, and when I add/omit/edit objects, there’s nothing under the Network tab in Chrome’s dev tools.
How is RR doing this? I noticed IndexedDB instances but deleting them didn’t seem to affect anything.