MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / useRegistryVersion

Function useRegistryVersion

dashboard/shell/src/main.jsx:52–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50};
51
52function useRegistryVersion() {
53 return useSyncExternalStore(
54 (fn) => {
55 listeners.add(fn);
56 return () => listeners.delete(fn);
57 },
58 () => registrySnapshot,
59 );
60}
61
62// ---------------------------------------------------------------------------
63// Theme helpers (dark default, light variant, localStorage + prefers-color-scheme)

Callers 1

AppFunction · 0.70

Calls 1

addMethod · 0.45

Tested by

no test coverage detected