dwyl / dwyl/learn-progressive-web-apps

Should we use Modernizr for Feature Detection?

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted question
Dominant language
JavaScript
Stars
20
Forks
5
PR merge metrics
No merged PRs in 30d

Description

The _question_ is: how _many_ features are we going to want to detect...?
Can we _just_ do our own `if(featurex) { /* enhancement code */ }` ?
Do we _need_ a library to do it for us?
Loading the library from CDN:
https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js
taks 200ms on a 3G Connection:
![modernizr-load-from-cdn-3g-200ms](https://cloud.githubusercontent.com/assets/194400/15267375/7dc490c8-19b8-11e6-9994-b6911b646f6b.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.