Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/preact.ts>ComponentClass

Deno-powered framework for building business web apps
Go to Latest
interface ComponentClass
import { type ComponentClass } from "https://deno.land/x/netzo@0.3.91/deps/preact.ts";

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