@kitr/actions
v0.9.2
Published
@kitr/actions: defineQuery and defineMutation over TanStack Start server functions, with validation, middleware, the kitr error shape and cache effects.
Readme
@kitr/actions
Server actions. Call server code straight from a component, like a form submit, without writing an API route.
pnpm kitr add actionskitr add installs the package and wires it into your app: the provider in kitrrc.ts, its config file and its AGENTS.md section. Import it from @kitr/actions.
Built on @tanstack/react-start.
Read the guide at https://kitr.dev/packages/actions.
Part of kitr, the TypeScript framework where everything is an add-on. MIT licensed.
