-
Notifications
You must be signed in to change notification settings - Fork 8
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
Modernizr #6
Comments
The preferred alternative to feature detection is polyfilling, and |
are you really sure that |
I agree with @jt3k Modernizr still has some features that cant just be transpiled or polyfilled. |
The legacy browser market share keeps shrinking, so the complexity of having branching logic based on feature detection for legacy browsers is increasingly not justified. The idea is to have recommendations for general use cases, and in general polyfilling should be preferred, even though it doesn't replace feature detection for every use case. Here's a graph that tells the same story; specifically, that Modernizr hit its peak when the legacy browser presence was much more significant. |
I see that both searches are popular in my country(Russia). But in the end, it's up to you. |
The trend looks about the same in Russia. I've added a link to this discussion. |
Please explain how you replace the Modernizr with
@babel/preset-env
Do the creators of Modernizr know that they are not recommended? =)
The text was updated successfully, but these errors were encountered: