Skip to content

Kit form

The form and the submit a React Router app hands the posts, media and mentions lists.

Installation

// package.json: "capsomer": "github:DrDustinEdwards/capsomer#v0.152.2"
import "capsomer/tokens.css";
import "capsomer/base.css";

API reference

Functions

FunctionSignatureDoes
useKitSubmit(endpoint: string): (form: FormData) => Promise<IntentResult>With script each intent posts to the screen's JSON endpoint, and the page reads its data again after it.