MCPcopy
hub / github.com/preactjs/preact / Field

Function Field

compat/test/browser/suspense-hydration.test.jsx:90–93  ·  view source on GitHub ↗
({ name })

Source from the content-addressed store, hash-verified

88 const loaders = {};
89
90 function Field({ name }) {
91 const id = useId();
92 return <span id={id}>{name}</span>;
93 }
94
95 const createLazy = name =>
96 lazy(

Callers

nothing calls this directly

Calls 1

useIdFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…