Kotlin/JS in 1.4 and Beyond
summary
Kotlin/JS 1.4 delivers unified Gradle plugins with the same DSL, automatic webpack CSS loader toggles, and npm helpers that require explicit versions plus devNpm optionalNpm and peerNpm. It adds Dukat with a generateExternals task to produce and tweak Kotlin externals, moves browser APIs to kotlinx.browser and kotlinx.dom, and publishes experimental kotlinx-nodejs. The Alpha IR compiler promises smaller bundles via stronger dead code elimination and module splitting, supports JsExport and automatic .d.ts output, and offers a BOTH mode to emit legacy and IR artifacts for interoperability. Dukat remains experimental. Recording is brought by American Express.
AI-written summary · about
chapters (10)
- 0:00Start
- 0:37An overview
- 2:34Compatibility between JS and Multiplatform plugins
- 12:12Planned support for ES6 (modules & co.)
- 12:56Planned feature parity with source maps
- 13:35Strong interop
- 14:49Introducing @JsExport
- 15:43Preview: TypeScript definitions
- 17:41Smooth transition to the new compiler
- 21:06Kotlin/JS in 1.4
related talks
41mKotlin/JS, Today and Tomorrow
43mThe State of Kotlin JS
34mIntegrating Kotlin/JS in a Kotlin Multiplatform library
35mTypeScript vs KotlinJS
45mFrontend Kotlin from the Trenches
38mWhat's New & Cool in Kotlin Tools
33mUsing Kotlin for JS Client and JVM Server
01h 01mKotlin as a Language for Frontend Development
