Sure it's possible to do it step by step. Interop ...
# react
f
Sure it's possible to do it step by step. Interop in both directions is quite straightforward. If you're using webpack, you can follow
kotlin-webpack-plugin
setup instructions: https://github.com/JetBrains/create-react-kotlin-app/tree/master/packages/kotlin-webpack-plugin Your kotlin module will be available as CommonJS module then
You should skip
entry
setting and use
import {kotlinPackageName} from 'kotlinModuleName'
somewhere in JS code instead
o
@Filipp Riabchun Alright, thank you!
f
It would also make sense to pass
main: 'noCall'
to
KotlinWebpackPlugin