WarUI

Multi-instance isolation and SSR safety

GRID-A01-F25P1beyond-baselinePlanned

Multiple grid instances on one page share no mutable globals: no singleton registries, shared caches or global listeners without reference counting. Core and adapters are safe to import during server rendering, which prevents cross-talk and hydration crashes.

Planned. This page shows the specification from issue #177. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

Four grids sharing the same dataset reference.

Expected behavior

Interactions stay isolated. Disposing one grid leaves the others fully functional, with shared window listeners reference-counted. SSR mode renders the markup without errors and hydrates into interactive grids.

Planned API surface

createGridGridOptions.instanceIdapi.getInstanceIdGridOptions.environment

Acceptance criteria

  • Importing the core in Node does not touch window, document or navigator (pending)
  • Instance ids are unique, and the user-supplied id is validated for uniqueness (pending)
  • Shared global listeners are removed only when the last instance is disposed (pending)
  • Shared row objects are never mutated by any instance (pending)