MCPcopy Index your code
hub / github.com/tinyplex/tinybase / handleThingChange

Function handleThingChange

src/ui-solid-dom/common/components.tsx:181–188  ·  view source on GitHub ↗
(
    thing: Thing,
    setTypedThing: (thing: Thing) => void,
  )

Source from the content-addressed store, hash-verified

179 });
180
181 const handleThingChange = <Thing extends Cell | Value>(
182 thing: Thing,
183 setTypedThing: (thing: Thing) => void,
184 ) => {
185 setTypedThing(thing);
186 setCurrentThing(() => thing);
187 props.onThingChange(thing);
188 };
189
190 const handleJsonThingChange = (
191 value: string,

Callers 2

widgetFunction · 0.70
EditableThingFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…