James Arthur

Results 77 comments of James Arthur

Yup, I think it can be a linear pathway and an opportunity to help clarify the misconceptions of what you can sync into; but also maybe a step too far....

Hey @rgenge thanks for this, really appreciate the input, thanks for the contribution :) Generally the best way to do this is to make a Pull Request with the changes...

Just wondering what the best pattern is for use shape when the params change. Iiuc, the useEffect cleanup function runs each time the useEffect rerun args change? So a useEffect...

Maybe some useShape specific options to abort-on-change/unmount. Then only auto-cleanup if told to.

Nice -- a Types guide or part of the Typescript client docs?

Added to https://github.com/electric-sql/electric/milestone/2 as I'll try to document this when adding the initial benchmarks page. Can be some pointers into readme steps to start with.

Is there not a slight chicken and egg thing of needing to instantiate a Shape to have the subscribers to instantiate the ShapeStream which is needed to instantiate the Shape...

Minor but obvious thought, just to ask the question: could we use a header instead of a param? I would see a header as more appropriate for client version /...