Files
paseo/packages/app/src/plugins/client-state/refs.ts
T
Mohamed Boudra e4106b4e2d feat(plugin): expose stable sidebar entity data across hosts
Collections return interned references and preserve their arrays when membership and order stay unchanged. Entity selectors share one hook with identity defaults for full snapshots and shallow defaults for selections. The app caches host projections and shares underlying store and host subscriptions. Browser render counts exercise the real session store and plugin provider without memoized rows. Terminal hooks consume the collection source port; daemon-wide terminal discovery is the separate terminal phase.
2026-11-06 09:22:19 +01:00

4 lines
112 B
TypeScript

import { createEntityRefs } from "@getpaseo/plugin/client/host";
export const entityRefs = createEntityRefs();