DEV Community

React Hooks Released! (Finally 🎉)

Wenchen (Neo) Li on February 06, 2019

After a lot of waiting... // Detect dark theme var iframe = document.getElementById('tweet-1092920897143521287-460'); if (document.body.cl...
Collapse
 
dance2die profile image
Sung M. Kim • Edited

I can find myself using react-use-scroll-position 👍

And I found that devDependencies are still not up to date.

github.com/neo/react-use-scroll-po...

I believe react should be updated to v16.8.0 (which I did for my small hook library 😉) while TypeScript is now 3.3.x as well as the type definition .

Collapse
 
li profile image
Wenchen (Neo) Li

Very good point! Thank you v much for pointing it out!

Collapse
 
dance2die profile image
Sung M. Kim

You're welcome. I had a similar problem this morning not updating dev deps :)

Collapse
 
scriptkavi profile image
ScriptKavi

Many early birds have already started using this custom hooks library
in their ReactJs/NextJs project.

Have you started using it?

scriptkavi/hooks

PS: Don't be a late bloomer :P