Lilith
Integrating external mutable objects
Thanks for your input! That's also about the conclusion I ended up with. I actually just shove the whole huge document object into a signal, and do a setSignal with the same document, when I get informed about changes. Then down the line in the UI, I use smaller memos to cache values here and there, whenever profiling shows interesting spots. Even though that is far from optimal, Solid can still figure out pretty well where updates are needed.
Mutation is fully dealt with by Foundry itself. Just some methods on the documents themselves. The response though is just mutations to the documents.
3 replies