Keep unrelated renderers idle through local edits and acknowledgments
This commit is contained in:
@@ -442,3 +442,14 @@ geometry services capture changing external configuration must pass a changed
|
||||
`geometryRevision` to `sync`. CanvasView now uses this index with native handles.
|
||||
The edge list/signature comparison still gets scanned; this is not full dirty-region
|
||||
drawing or selective offscreen mounting.
|
||||
|
||||
React renderer assembly now memoizes installed node/edge/preview components using
|
||||
stable wrappers shared by original component identity. Explicit React.memo inputs
|
||||
are preserved. `definitions[].render/preview` retain the original implementations;
|
||||
`nodeTypes`/`edgeTypes` tables contain the compiled wrappers. Context and hook updates
|
||||
still propagate normally. The projection cache separately shares equal data/style/
|
||||
position fields across measurement-only updates without mutating input objects.
|
||||
A real three-node fixture verifies that editing one node through ACK leaves an
|
||||
unrelated node and nonincident edge's render function counts unchanged. Connected
|
||||
edges may legitimately remeasure when a custom renderer's data changes; this does
|
||||
not assume arbitrary custom Handle layouts stay fixed.
|
||||
|
||||
Reference in New Issue
Block a user