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

[Feature Request] Is it possible to create a React version of the library? #13

Closed
condorheroblog opened this issue Feb 26, 2025 · 2 comments
Labels
wontfix This will not be worked on

Comments

@condorheroblog
Copy link

This library is very cool 👍.

But unfortunately it cannot be used in React. I noticed that you have experience with React. Have you considered making a React version of this repository?


I'm currently using react-scroll in my project but it's very imperfect. For Example It cannot activate last element .

Even using https://www.npmjs.com/package/react-ui-scrollspy can't solve this problem


Thank you.

@MickL
Copy link

MickL commented Mar 23, 2025

You can create a fork/rewrite. The readme even gives a hint how to archive this:

Alternatively, you can build an accurate scroll observer that acts similar to this package by looking at the SvelteKit Website's TOC source code in 100-150 lines of code.

@smastrom
Copy link
Owner

Hi @condorheroblog, as @MickL suggested, feel free to create your own fork or to port this library to React as I have no desire nor time to develop and open source it.

@smastrom smastrom added the wontfix This will not be worked on label Mar 24, 2025
@smastrom smastrom closed this as not planned Won't fix, can't repro, duplicate, stale Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants