Parsha Pourkhomami: JavaScript CSS | JSConf US 2015
1,843 views · Published 29 June 2015 · 30:09 · Indexed 12 November 2026
Channel: JSConf · 2015 · Science & Technology
CSS has a number of deficiencies: no namespacing, dependency management, code isolation, or robust dead code elimination. It also has confusing cascading behavior and no way to share logic or constants with front-end code. We've created various hacks and alternative languages to resolve these issues, but the best solution has been right under our noses: JavaScript. By using JavaScript and its ecosystem, the require() module system gives us namespacing and dependency management, existing tools like UglifyJS can eliminate dead code, the confusing cascading behavior of CSS can be bypassed completely, and shared logic and constants can be written in one place. Take it a step further and we can polyfill CSS features, calculate critical path styles, and perform other mad science
More from this channel
-
29:49
Michael Bebenita & Shu-yu Guo: Low Level JavaScript
-
29:19
Michael Starzinger: The Footprint of Performance
-
27:17
Florian Loitsch: JavaScript as a compilation target - Making it fast
-
32:24
Jing Jin & Matthew Delaney: The Web's Black Magic
-
31:38
Anders Heijlsberg & Luke Hoban: Introducing TypeScript
-
24:59
Kevin Markman: Taking Web Apps Offline
-
26:28
Max Krohn: IcedCoffeeScript
-
30:46
Sam Dutton: WebRTC: Real-time communication without plugins