Skip to content

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

License

Notifications You must be signed in to change notification settings

diegoulloao/use-deffect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 👇

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published