Skip to main content
Module

x/htm/html.tsx>ComponentClass

Create a html response with JSX.
Go to Latest
interface ComponentClass
import { type ComponentClass } from "https://deno.land/x/htm@0.1.2/html.tsx";

Type Parameters

optional
P = { }
optional
S = { }

Properties

optional
displayName: string
optional
defaultProps: Partial<P>
optional
contextType: Context<any>

Methods

new(props: P, context?: any): Component<P, S>
optional
getDerivedStateFromProps(props: Readonly<P>, state: Readonly<S>): Partial<S> | null
optional
getDerivedStateFromError(error: any): Partial<S> | null