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

x/evt/hooks/index.ts>useRerenderOnStateChange

💧EventEmitter's typesafe replacement
Go to Latest
function useRerenderOnStateChange
import { useRerenderOnStateChange } from "https://deno.land/x/evt@v2.4.18/hooks/index.ts";

https://docs.evt.land/react-hooks#usererenderonstatechange

To use StatefulEvt as react component state.

Parameters

evt: StatefulReadonlyEvtLike