-
Notifications
You must be signed in to change notification settings - Fork 407
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
feat: added minConnectionType to the options attribute #282
feat: added minConnectionType to the options attribute #282
Conversation
Please rebase and make sure lint and tests pass after you add tests to cover the new changes. |
I did my best to resolve the conflicts but it needs a proper look from the patch author. The changes look breaking as they are and new tests are missing. @Luccatp If you do not update the PR, we'll have to close it, but you can come back later and create a new one. |
I fixed the conflicts and the breaking change but:
|
I will try to fix in this week time. The effectiveType uses only this values: https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/effectiveType#value Thank you for your collaboration and interest in my PR. |
a new options that gives developer the power of choosing which type of connection should be the minimum to prefetch or prerender the link, instead of always it being 3g.
Fixes #283