Open fdietze opened 6 years ago
Thanks, these look interesting, I will give it a read eventually.
I'll keep this issue open until I add a section in documentation with useful resources like this.
Just adding some semi-relevant discussion on SignalMap
as an alternative to split
here:
https://discord.com/channels/1020225759610163220/1020225760075718669/1075918160915611849
And there is https://github.com/timelydataflow/differential-dataflow, and a discussion on how to use it as an alternative to virtual dom: https://github.com/TimelyDataflow/differential-dataflow/issues/154#issuecomment-470860673
Thanks for sharing that! This bit is quite interesting.
For example, for large lists, if you attach every item to its own differential dataflow, then that will make for blazing fast reconciliation, but probably cause all kinds of other problems (e.g. constant teardown and re-creation of dataflows as a user scrolls the list). Therefore I think that a hybrid approach might be best, where the heavy lifting is handled by Differential, and smaller batches are done via reconciliation.
I just found a few interesting papers which I think are very relevant for achieving efficient dom updates without virtual dom: