TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Are you using new JavaScript / CSS features on any non-trivial web projects?

2 pointsby squid_caover 8 years ago
I am happy that JS and CSS are progressing, but I feel that most of the new features are literally years away from being usable &quot;natively&quot;, ie, without polyfills &#x2F; transpiling, due to browser inconsistencies &#x2F; errors and legacy browser support. But rather than feel this way, I would love to be shown that I am wrong.<p>Are you using new features of JS &#x2F; CSS in a non-trivial web app?

2 comments

janesconferenceover 8 years ago
Surely server-side: Node &gt; 6 supports ES6 without transpilers. Since Node doesn&#x27;t have to be browser-compatible, there is no reason to use older versions.<p>On the client side, I recently wrote a CMS for a big company based on CSS flexboxes (which are not polyfillable). I also wrote a number of browser projects using ES6 &#x2F; ES7 features, but normally you demand transpiling and polyfilling to Babel, so you never know.
评论 #13531155 未加载
janesconferenceover 8 years ago
Also, IMHO, if you&#x27;re starting a project and you&#x27;re not particularly constrained to stick with an older version of IE (or anything not-evergreen), you should target only the latest browsers. It&#x27;s 2017 and evergreen browser are secure, free and stable on every OS. Older browser are a huge security risk and should be discouraged &#x2F; not supported.
评论 #13541746 未加载