MCPcopy Create free account
hub / github.com/WebReflection/neverland / useState

Function useState

index.js:388–390  ·  view source on GitHub ↗
(value, options)

Source from the content-addressed store, hash-verified

386 }; // useState
387
388 var useState = function useState(value, options) {
389 return useReducer(getValue, value, void 0, options);
390 }; // useContext
391
392 var hooks = new WeakMap();
393

Callers

nothing calls this directly

Calls 1

useReducerFunction · 0.70

Tested by

no test coverage detected