Open vsolanogo opened 4 years ago
Hey @vsolanogo , it should work with project with hooks as hooks is just an implementation detail. What's not working for you? Can you elaborate a bit?
They stopped the repairs. I had to do it myself, in the same way, with a new version of typeScript. And fix these problems for everyone to use. add react hooks、vue3 example
npm i body-scroll-lock-upgrade
repair log,Refer to the releases page. [examples]:(https://github.com/rick-liruixin/body-scroll-lock-upgrade/blob/develop/examples/next/hooks/use-body-scroll-lock-upgrade.ts)
Using hooks in my project, but react-scrolllock doesn't work.