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

x/live/deps.ts>Component.getDerivedStateFromProps

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
method Component.getDerivedStateFromProps
import { Component } from "https://deno.land/x/live@1.53.6/deps.ts";

Parameters

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

Returns

object | null