-
@jakedonham yes, and the solution to the previous question is also the same: identity "nests", so when you call a function multiple times, the identity of the callsite is used to disambiguate the nodes inside the function.
-
@jakedonham *the same as what react does (afaik)
-
@jakedonham e.g.: (defn xyz (a) ([1]print a)) ([2]xyz "hello") # contains [2.1]print ([3]xyz "world) # contains [3.1]print where the two "print" cells could have their own individual state.
-
@jakedonham The labels + diffing are only required to support "normal" text editors. A smarter (structural) editor could input changes to the structure directly without requiring either of these things.