create-react-hook icon indicating copy to clipboard operation
create-react-hook copied to clipboard

hook rule validation after being imported in real project

Open FahadAminShovon opened this issue 3 years ago • 0 comments

I am trying to publish my own hook as a package. The library works fine. I can run the code in the given example code. but when I link the library to an existing project or publish the library, I get error message saying the hook is breaking the rule. I tried updating the react version, still the problem remains.

FahadAminShovon avatar Feb 01 '22 20:02 FahadAminShovon