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] detect and defer to native implementations of fetch global #73

Open
DerekNonGeneric opened this issue Aug 2, 2022 · 1 comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request

Comments

@DerekNonGeneric
Copy link
Member

Detect and defer to native implementations

For features that have reached the tipping point, where the polyfill registers the same name as the native feature, include code to detect a native implementation, and if one exists, defer to it. Where a native feature exists but is incomplete or buggy, consider using as much of it as possible and correcting only the deficiencies.

https://www.w3.org/2001/tag/doc/polyfills/#detect-and-defer-to-native-implementations

Additionally, consider replacing node-fetch dependency with undici for behavior guarantees.

@DerekNonGeneric DerekNonGeneric added enhancement New feature or request dependencies Pull requests that update a dependency file labels Aug 2, 2022
@DerekNonGeneric
Copy link
Member Author

See w3ctag/design-principles#357 for further guidance on this exact situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant