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";import "capsomer/tokens.css";
import { KitForm } from "capsomer/react/kit-form";API reference
Functions
| Function | Signature | Does |
|---|---|---|
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. |