3 ms·
> Having worked in the JS ecosystem for far too long now it's enormously satisfying to remove these dependencies. Assuming you're working on commercial product
by CharlesW 4y ago
> Having worked in the JS ecosystem for far too long now it's enormously satisfying to remove these dependencies.
Assuming you're working on commercial products, how do you decide when to move to new-ish native functions? For example, do you log feature detection for the function a month or two prior to the planned change?
- e1g 4y agoYou probably have HTTP access logs and can use that to run your own calculations based on UserAgent and caniuse. We are in enterprise, and 90% of our users are on evergreen browsers, and the next 9% have a browser version from the last 18 months. For the last minority, we conditionally include a polyfill from polyfill.io “Browser support” is not an issue anymore unless you do something cutting edge, sell to regulated industries like healthcare, or serve many users in China/Africa et al.