Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/htm/mod.ts>Component.getDerivedStateFromError

Create a html response with JSX.
Go to Latest
method Component.getDerivedStateFromError
import { Component } from "https://deno.land/x/htm@0.1.2/mod.ts";

Parameters

error: any

Returns

object | null