I think the kotlin-fullstack-sample is probably pretty out of date at this point. The create-react-kotlin-app way is the better option. It uses the kotlin-wrappers library that seems to be the official way of doing front end react work.
https://github.com/JetBrains/kotlin-wrappers