Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example using React hooks #269

Open
edgarlr opened this issue Mar 17, 2023 · 1 comment · May be fixed by #268
Open

Add example using React hooks #269

edgarlr opened this issue Mar 17, 2023 · 1 comment · May be fixed by #268

Comments

@edgarlr
Copy link

edgarlr commented Mar 17, 2023

Even when they're already 2 react examples, most of the modern react development is around hooks. Would be great to add an example of how to use body-scroll-lock along with modern react. (hooks)

@edgarlr edgarlr linked a pull request Mar 17, 2023 that will close this issue
@rick-liruixin
Copy link

rick-liruixin commented Apr 15, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants