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

Suggest note to prefer useWindowSize over useScreen in docs #596

Open
alanhamlett opened this issue May 1, 2024 · 0 comments
Open

Suggest note to prefer useWindowSize over useScreen in docs #596

alanhamlett opened this issue May 1, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@alanhamlett
Copy link

alanhamlett commented May 1, 2024

Describe the problem

They both provide a height & width, but most people probably want the Window size not the Screen size.

I think it's worth linking in the useScreen docs to useWindowSize, or mentioning a note that Window size is the more commonly used one.

@alanhamlett alanhamlett added the documentation Improvements or additions to documentation label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant