For the More Curious: Front-End Frameworks
There are many popular frameworks for building a web UI, with some of the most popular being React, Vue, and Angular. You can technically use any of these libraries with the interoperability features you learned about in this chapter. JetBrains also provides Kotlin/JS bindings for React, which saves you the trouble of building this compatibility layer yourself.
However, we do not recommend using these frameworks from Kotlin directly. Using a front-end JavaScript framework in Kotlin often leads to more complex code than the equivalent JavaScript code. There are also substantially more resources and guides for these frameworks in plain-old JavaScript than there are for Kotlin.
Remember, Kotlin ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access