Course
Overview
Kotlin Multiplatform doesn't stop at mobile: the same business code can also run in the browser, thanks to Kotlin/JS and Kotlin/Wasm.
Sharing your logic across Android, iOS, and the Web means writing, testing, and maintaining it only once.
This course teaches you how to expose your Kotlin code to the JavaScript ecosystem: interoperability constraints, TypeScript header generation, asynchronous functions, WebAssembly… as well as how to use npm libraries, manipulate the DOM, and build web applications with Kotlin React.
By the end of this day, you will be able to distribute your Kotlin Multiplatform code as an npm package and develop web applications entirely in Kotlin.
Program
Objectives
Expose Kotlin code to JavaScript.
Manipulate the DOM in Kotlin.
Distribute a JavaScript npm package.
Build web applications with Kotlin React.
Prerequisites
Having completed the “Kotlin Multiplatform: Mobile” course, or an equivalent level. Basic knowledge of JavaScript and the web ecosystem is a plus.
Program
D1
Kotlin Multiplatform for the Web
Morning
Exposing Kotlin to JavaScript
make your code consumable from JS
JavaScript constraints
what JS imposes on exported Kotlin code
WebAssembly
target Kotlin/Wasm
TypeScript headers
configure their generation
Asynchronous functions
expose coroutines as Promises
Afternoon
DOM
manipulate the DOM in Kotlin
npm package
distribute your Kotlin code as JavaScript
npm libraries
use them from Kotlin
Kotlin React
build web applications
Details
- Format
In-company
- Duration
1 day (7 hrs)
- Prerequisites
Course “Kotlin Multiplatform: Mobile”
These trainings might interest you
Our workshops are designed for professionals. Each program is tailored to your team's level and context, whether in-house or as an open session.
Kotlin Multiplatform: Mobile
Share your business logic between Android and iOS without sacrificing the native experience: master the Kotlin Multiplatform toolchain and Swift interoperability to design, distribute, and integrate a robust shared SDK that accelerates your teams.
The Kotlin Language: Concepts & Tools
Discover how Kotlin lets you write less code with fewer errors: its key concepts and tools will quickly make you productive at building safe, readable, and maintainable applications.
Compose: Interfaces in All Their Forms
Embrace declarative thinking to build reactive, maintainable, and performant interfaces. Master state and data flow to share a single UI codebase across Android, iOS, Desktop, and Web.
The Kotlin Language: Expertise for Deploying APIs
Go beyond everyday Kotlin: understand the deep mechanisms of the language and compiler to write idiomatic, safe code, design durable public APIs, and automate code generation.
Kotlin Coroutines: Expert Usage
Go beyond everyday coroutine usage: understand their inner mechanisms, from language primitives to flows, to write reliable, performant, and testable asynchronous code, and choose the right tool for each problem.
Koog: Integrating AI into Your Multiplatform Apps
Go beyond the simple LLM call: use Koog to design AI agents integrated into your Kotlin applications, capable of acting and orchestrating themselves, reliable, cost-efficient, and observable in production.