Datastar + EG Grid

Three server integration patterns. Drag to compare.

No client algorithm. Every drag/resize POSTs to server (fire-and-forget). Server runs push algorithm, broadcasts datastar-patch-elements SSE event containing a <style> element. Datastar morphs it into the DOM → grid repositions.

A (2×1)
B
C
D (1×2)
E (2×1)
F
G
H (2×1)