I didn't not expect that building the devtools messaging protocol for @livestore.dev would turn out to be one of the most difficult parts to build. In order to support reliable and efficient messaging (supporting transferables), I ended up building a local networking protocol called "Webmesh".
Post
NOTE: The above could be severely simplified if I didn't have the need for supporting transferable objects. developer.mozilla.org/en-US/docs/W...
developer.mozilla.orgTransferable objects - Web APIs | MDNTransferable objects are objects that own resources that can be transferred from one context to another, ensuring that the resources are only available in one context at a time.
Following a transfer, ...
0 reposts2 likes
No replies yet.