# react

Andromadus Naruto

08/06/2022, 9:08 AM
Hi, everyone. I would to get your opinions on using Kotlin/JS + Kotlin React Wrappers for enterprise grade web applications. I've been using Ktor for my server-side applications and Angular for most of my frontend apps. I believe I can benefit from a multiplatform solution using Kotlin Multiplatform. I'm thinking shared dtos, interfaces, business logic, DI, etc... for fast development and consistency in codebase. I'm also aware that JetBrains uses it internally for their apps. However I'm the only developer in the team and I have about 9 months to build a in-house solution with features like project management, CRM, ERP, User Management, Knowledge Base, Grouped Chatrooms, etc. Do you guys think it's a worthwhile investment long-term? I would like to learn from your experiences and insights. Thank you in advance 🙏🏾

Moritz Hofmeister

08/29/2022, 2:29 PM
We use Kotlin/JS & wrappers for all bigger web projects. Once you know your way around it’s extremely convenient. A major advantage for example is having a single programming language for backend & frontend (Kotlin) which makes life a lot easier, especially when working on both sides at the same time 🙂 Feel free to take a look at our open source project CampusQR which uses exactly this stack

Andromadus Naruto

09/03/2022, 6:09 AM
Thanks very much for your reply 🙏🏾 It was very helpful.


09/26/2022, 2:31 PM
As a solo developer, I have a Kotlin Multiplatform app written with React in production for a bit more than a year. On Kotlin Multiplatform: if you like Ktor, it's amazing how much faster you can develop things thanks to sharing your API structures and validation functions. On Kotlin React: if you already know React, it's very easy to use. However because it must match what React expects, some syntax isn't really convenient (e.g. you must define props as an external interface). It's a small price to pay though. Another thing to keep in mind is that the React wrappers move fast and it's common that they rename a function or class, expect to have some renaming to do when upgrading the dependency. They're almost always trivial.
The project I mentioned is open source, you can check it out here: It's currently ongoing a big refactor so it's a bit messy, if you have any questions on how it works you can send me a direct message or @ me in the comments of your questions.
When it comes to syntax I prefer Compose Web to React, but there are many other factors (including how new Compose is)

Andromadus Naruto

09/26/2022, 3:50 PM
Thank you very much, @CLOVIS 🙏🏾. I really appreciate your insight. I'll take a look at the repository soon.