MCPcopy Create free account
hub / github.com/dailydotdev/apps / Page

Function Page

packages/shared/src/hooks/usePostPrefetch.spec.tsx:17–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}));
16
17const Page = () => {
18 usePostPrefetch();
19 return (
20 <>
21 <a href="/posts/p1">A post</a>
22 <a href="/">Home</a>
23 <a href="https://blog.example.com/post">Outside</a>
24 </>
25 );
26};
27
28beforeEach(() => {
29 mockPrefetch.mockClear();

Callers

nothing calls this directly

Calls 1

usePostPrefetchFunction · 0.90

Tested by

no test coverage detected