Hermanya/create-react-hook

hook rule validation after being imported in real project

FahadAminShovon opened this issue · 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.