❤
Mobile Developer @ Event Pop
Christopher Ng (Babe)
Admin @ Thailand Kotlin Developer
Brief history
of otlin
JetBrains invented Kotlin since 2011
A better language than Java
Google I/O 2017
JetBrains expand their empire
Kotlin/Native Kotlin JS
Kotlin can run on
anything
But still frustrated
Kotlin
Multiplatform
All in one place
Common
NativeJVM
JS
Stdlib
Stdlib
Stdlib
Stdlib
Multiplatform Showcase - Kotlinconf app
https://github.com/JetBrains/kotlinconf-app
What about React???
Many Kotlin developers
love React
They try so hard to create React app with Kotlin
Kotlin 1.1 Event (early 2017)
https://www.youtube.com/watch?v=QQKdFFRqamg
Kotlin React Wrapper
https://github.com/JetBrains/kotlin-wrappers
- kotlin-css
- kotlin-react
- kotlin-react-router-dom
- kotlin-styles
- kotlin-mocha
create-react-kotlin-app
Official tool
https://github.com/JetBrains/create-react-kotlin-app
npm i -g create-react-kotlin-app
React to Kotlin
React
React.Component
props
state
RBuilder
RBuilder.RComponent
RProps
RState
React to Kotlin
<div>
Hello {this.props.name}
</div>
div {
+"Hello ${props.name}"
}
React to Kotlin
class Hello extends React.Component {
render() {
return (
<div>Hello {this.props.name}</div>
);
}
}
class Hello :
RBuilder.RComponent<RProps, RState>(){
override fun RBuilder.render() {
div { +"Hello ${props.name}" }
)
}
}

Kotlin react bkk 3.0.0