A dependency breaks the build (hooks in alpha)
fael opened this issue · comments
Rafael Santos Sá commented
Daniel Schmidt commented
That's interesting. It shouldn't break unless you are trying to use the hooks. I'll have a look at it.👌
I'm not using the alpha version on my projects, and it doesn't cause this error.
You should be able to fix it using Yarn resolutions to lock the version of react-intersection-observer for now
Daniel Schmidt commented
I can't seem to replicate this issue.
Can you recreate it in a Codesandbox?
I've published a new version (3.0.0) which upgrades the build process and dependencies. See if it's still an issue with this version.