use-deffect

use deffect for react.

The same useEffect as always, just as defective. 👌

Installation

npm i deffect

Usage

import { useDeffect } from "deffect";

const Component = (props) => {
  useDeffect(() => {
    console.log("a defective react hook");
  }, [...deps]);

  return <>your stuff</>;
};

License

Licensed MIT


Goodbye, useEffect - David Khourshid 👇

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes