MCPcopy
hub / github.com/evoluhq/evolu / useMutation

Function useMutation

packages/evolu/src/React.ts:283–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

281 };
282
283 const useMutation: UseMutation<T> = () =>
284 useMemo(() => ({ create: evolu.create, update: evolu.update }), []);
285
286 const useEvoluError: ReactHooks<T>["useEvoluError"] = () =>
287 useSyncExternalStore(

Callers 12

NextJsExample.tsxFile · 0.85
TodosFunction · 0.85
TodoCategoriesFunction · 0.85
App.tsxFile · 0.85
TodosFunction · 0.85
TodoCategoriesFunction · 0.85
page.tsxFile · 0.85
TodosFunction · 0.85
TodoCategoriesFunction · 0.85
Example.tsxFile · 0.85
TodosFunction · 0.85
TodoCategoriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected