Hook that returns a function to call server procedures for current page's controller
const callProcedure = useCallProcedure(); Copy
const callProcedure = useCallProcedure();
import { type Procedures } from './api.server.ts';const callProcedure = useCallProcedure<Procedures>(); Copy
import { type Procedures } from './api.server.ts';const callProcedure = useCallProcedure<Procedures>();
Hook that returns a function to call server procedures for current page's controller