Designing SolidJS: Immutability

added by JavaScript Kicks
11/18/2019 12:09:02 PM

314 Views

So enforced unidirectional flow in a reactive library. This is a challenge in its own right since these are libraries built on mutation. We can't just use typical immutable patterns. Typically when some nested data changes you would shallow clone along the path of the change while keeping references to unchanged branches.


0 comments