MCPcopy Create free account
hub / github.com/bholmesdev/simplestack-store / UserComponent

Function UserComponent

src/integration.test.tsx:470–474  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

468 const settingsRenderSpy = vi.fn();
469
470 function UserComponent() {
471 const user = useStoreValue(userStore);
472 userRenderSpy();
473 return <div data-testid="user">{user.name}</div>;
474 }
475
476 function SettingsComponent() {
477 const settings = useStoreValue(settingsStore);

Callers

nothing calls this directly

Calls 1

useStoreValueFunction · 0.85

Tested by

no test coverage detected