Skip to main content


The next-gen web framework.
Extremely Popular
Go to Latest
interface PluginRenderScripts
import { type PluginRenderScripts } from "";


entrypoint: string

The "key" of the entrypoint (as specified in Plugin.entrypoints) for the script that should be loaded. The script must be an ES module that exports a default function.

The default function is invoked with the state argument specified below.

state: unknown

The state argument that is passed to the default export invocation of the entrypoint's default export. The state must be JSON-serializable.