-
Notifications
You must be signed in to change notification settings - Fork 438
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
RFC: Roadmap for v2 #438
Comments
Great initiative! I couldn't agree more, it's getting outdated. I think we should try to add hooks for scroll as well. |
Having hooks would be awesome. We could have something like const { scrollTo, scrollToTop } = useScroll(); And we could use it like this: <button onClick={scrollToTop}>Go to top</button>
/* or */
<button onClick={() => scrollTo(150)}>Go to position</button> What do you think @fisshy? 🚀 |
Yes that would be really good @jpedroschmitz And |
That's awesome! I think we can start working on this new version, at least updating some examples and adding linter... We can create a |
any updates from this RFC? |
Improve accessibility should also be a good point, refer to #282 Do we have other options besides adding an |
@irhamputra Haven't found the time yet to start working on a 2.0, all contributions are welcomed. |
That's a great point @LauraBeatris I've updated the RFC to add hooks and accessibility as new enhancements on the project, for version 2.0 |
I think we can start working on the documentation and also adding CI workflows, adding Prettier, ESLint, and doing other development/GitHub changes. It will be a great starter point. Who can help us? I am able to start by adding ESLint... |
@jpedroschmitz Count on me 💪🏼 I'm able to add the CI workflows |
That's nice @LauraBeatris, I will start by adding lint scripts and after that, we can include it on a CI workflow, to run on every PR. |
Nice! @jpedroschmitz let me know when you send the PR so I can take a look before implementing the CI workflow |
Hey, as someone who has been using react-scroll for a while, I really think we should have some changes in the lib. I'm creating this issue because I have some ideas of what we need to do on a possible v2.0 (I believe @fisshy also may have a lot of things he wants to change). So far, I have tracked the following things to address:
Breaking changes:
Enhancements:
modules/index.js
and doing other refactorings);useScroll
- more info on the comments and on Add useAnimateScroll hook #435).Documentation:
Development/GitHub changes:
I really want
react-scroll
to be updated. We have an average of 250 thousand downloads per week on npm and we can say for sure that this lib is outdated (on examples and implementation). So let's update it 🚀@fisshy, we really need your opinion around here 💜
ps: this is an RFC I created, so this list may change.
The text was updated successfully, but these errors were encountered: