Sam Willis

Results 171 comments of Sam Willis

Hey @Venipa Yes, we should 100% create a PGliteWorker for use with Node and electron. I suspect it would want to be a separate import, maybe sharing some RPC code....

@KyleAMathews This will not fix the issue with Tanstack DB progressive mode, we need to fix it on the DB side rather than on the Electric Client side. The electric...

@icehaunter > I'm just not sure why additional snapshots are needed on top of already full data DB `progressive` mode is supposed to show the snapshots before we load all...

Although this is due to a bundler and outside of PGlite, we should try and improve the error message here, to indicate what the fix is.

@KyleAMathews the normal `params` is the same (`params[0]=xxx`), so this change would introduce an inconstancy in the API. The difference is in `params` is generally constructed in the proxy, rather...

But I also suppose that `subset__params` is generally auto created by a client such as TanStack DB,so maybe an inconstancy is not a problem

I'm happy with the ts code and api change.

Yep, I had missed that xml2 is depreciated. We don't need to support this. Closing.

I like this strategy a lot, it's almost identical to what I experimented with when chatting to Valter a few months ago: https://github.com/samwillis/ssr-shape-poc/blob/main/src/app/shapes.tsx (tiny POC with no actual shapes)

We need to significantly flesh out the details on the Typescript client page: - the interface of ShapeStream listing all props/methods - what are it's arguments - whats the interface...