reactpy icon indicating copy to clipboard operation
reactpy copied to clipboard

Use YJS for sending diffs (JsonPatch replacement)

Open rmorshea opened this issue 3 years ago • 0 comments

Current Situation

Currently, we've effectively turned off diffing with JsonPatch due to bugs in the Python implementation.

Proposed Actions

While what we're doing now seems to work fine. We could replace JsonPatch with YJS since the YJS protocol has a Python implementation and an ASGI compliant websocket connector. Since the Python implementation ultimately wraps a Rust binary, this would likely be many times faster than JsonPatch, being implemented in pure Python, ever could have been.

rmorshea avatar Oct 20 '22 17:10 rmorshea