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

Function section

test/_util/dom.js:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 * @param {Contents} contents The contents of the section, as a string
30 */
31export const section = contents => `<section>${serialize(contents)}</section>`;
32
33/**
34 * A helper to generate innerHTML validation strings containing uls

Callers 1

fragments.test.jsxFile · 0.90

Calls 1

serializeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…