MCPcopy
hub / github.com/preactjs/preact / useId.test.jsx

File useId.test.jsx

hooks/test/browser/useId.test.jsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createElement, Fragment, hydrate, render } from 'preact';
2import { useId, useReducer, useState } from 'preact/hooks';
3import { setupRerender } from 'preact/test-utils';
4import { render as rts } from 'preact-render-to-string';

Callers

nothing calls this directly

Calls 9

setupScratchFunction · 0.90
setupRerenderFunction · 0.90
teardownFunction · 0.90
rerenderFunction · 0.85
createElementFunction · 0.85
renderFunction · 0.50
setFunction · 0.50
hydrateFunction · 0.50
updateFunction · 0.50

Tested by

no test coverage detected