MCPcopy
hub / github.com/QwikDev/qwik / useSignal

Function useSignal

packages/qwik/src/core/use/use-signal.ts:54–56  ·  view source on GitHub ↗
(initialState?: any)

Source from the content-addressed store, hash-verified

52 * @public
53 */
54export const useSignal: UseSignal = (initialState?: any) => {
55 return useConstant(() => createSignal(initialState));
56};

Callers 15

index.tsxFile · 0.90
copy.tsxFile · 0.90
index.tsxFile · 0.90
index.tsxFile · 0.90
index.tsxFile · 0.90
index.tsxFile · 0.90
index.tsxFile · 0.90
testUseCounterFunction · 0.90

Calls 2

useConstantFunction · 0.85
createSignalFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…