use-deffect Svelte Themes

Use Deffect

use deffect for react, the same use effect as always, just as defective.

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

Loading Svelte Themes