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

x/htm/mod.tsx>Component.getDerivedStateFromProps

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

Parameters

props: Readonly<object>
state: Readonly<object>

Returns

object | null