deffect
v1.0.3
Published
use effect as use deffect for react
Downloads
2
Maintainers
Readme
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