imbhargav5 / rooks

Essential React custom hooks ⚓ to super charge your components!
https://rooks.vercel.app
MIT License
3.19k stars 216 forks source link

`useDocumentTitle`: error when import noop from lodash #1710

Closed edoko closed 1 year ago

edoko commented 1 year ago

HI there!

I am experiencing issues after updating from v7.10.0 to v7.11.0.

Problem

This issue occurs when the newly added useDocumentTitle hook imports lodash's noop and throws a dependency not found error. simillar issue: https://github.com/imbhargav5/rooks/issues/1602

Produce issue

https://codesandbox.io/s/dreamy-cohen-1vsppq?file=/src/App.js