Skip to content

render beta ​

Function of @v12-engine/client/kit

ts
export declare function render<P extends object>(element: HTMLElement, component: (props: P) => JSX.Element, props: P): () => void;

Puts a Solid component into an element: a panel of the game's own built with the kit. Gives back what takes it out again, which is what a panel's mount gives back