Hot take: JavaScript transpiled features should be as spec compliant as possible, even if it ends up being 10x slower. Ship the slow output to older browsers. Using spec incompliant transforms limits your ability to turn them off safely later.
-
-
I mean, but even that super simple version needs tooling encouragement or else people won't do it
-
I’m out of touch with how most JS devs are serving static resources.
- 1 more reply
New conversation -
-
-
If you're using browserlist to manage browser versions, there's browserslist-useragent that does that. Single config to rule them all -https://github.com/browserslist/browserslist-useragent …
-
This combined with environments in browserlist can keep the "modern" and "legacy" bundles up to date and maintenance free. So theoretically, JS transplantation, polyfilling, CSS prefixing and serving can occur on dynamic queries like - "last 3 browser versions"
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 