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

Check possible usage in React Native app #6

Closed
AndrzejSala opened this issue Oct 29, 2021 · 1 comment
Closed

Check possible usage in React Native app #6

AndrzejSala opened this issue Oct 29, 2021 · 1 comment
Labels
exploration A new idea that needs more investigation help wanted Extra attention is needed

Comments

@AndrzejSala
Copy link
Owner

No description provided.

@AndrzejSala AndrzejSala added exploration A new idea that needs more investigation help wanted Extra attention is needed labels Oct 29, 2021
@AndrzejSala
Copy link
Owner Author

I just made a little exploration and my opinion is that support of react-native should be out of the scope.

Implementation of use-scroll-direction is heavily based on DOM and window APIs (browser APIs) which obviously are not implemented in react native.
So doing the same operations will require almost double of new code which makes it without sense to have them there.
The react native implementation should be done as a separate library.

@AndrzejSala AndrzejSala pinned this issue Dec 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exploration A new idea that needs more investigation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant