6 ms·
Livebook actually uses state reducers as described here[1]. Except for cell content. There it uses Operational Transformation. The source code[2] is really inst
by Becher19 3y ago
Livebook actually uses state reducers as described here[1].
Except for cell content. There it uses Operational Transformation.
The source code[2] is really instructional and easy to understand. I highly recommend to look into it :)
[1] https://github.com/jonatanklosko/notebooks/blob/main/articles/state_sync_and_reducers.livemd https://github.com/jonatanklosko/notebooks/blob/main/article...
[2] https://github.com/livebook-dev/livebook/blob/main/lib/livebook/session/data.ex https://github.com/livebook-dev/livebook/blob/main/lib/liveb...
- goeiedaggoeie 3y agoA great read, thanks so much!