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

Function Document

src/react.test.tsx:379–387  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

377 });
378
379 function Document() {
380 const doc = useStoreValue(documentStore);
381 return (
382 <div>
383 <span data-testid="title">{doc.title}</span>
384 <span data-testid="tags">{doc.meta.tags.join(", ")}</span>
385 </div>
386 );
387 }
388
389 render(<Document />);
390

Callers

nothing calls this directly

Calls 1

useStoreValueFunction · 0.85

Tested by

no test coverage detected