I am building a multi-platform project, where the ...
# javascript
d
I am building a multi-platform project, where the
ViewModel
is written in
Kotlin MultiPlatform
and shared across all platforms, while the UI is platform-specific
declarative
. I am using JetpackCompose on Android, SwiftUI on iOS, and I am trying to understand what is the most suitable framework for the Web. I am considering
React
and
Vue.js
. As you can understand, I am interested in a lightweight framework which can behave just as JetpackCompose and SwiftUI. This means that I don't need to use any data manipulation or networking capability, as these functionalities are already managed by the Kotlin ViewModel. Some of the characteristics I am looking for are: - simplicity of routing - speed - quality and variety of UI components - ease to create simple custom components What do you think it's better between React and Vue.js for this kind of lightweight declarativeUI usage? In this context, what are the advantages of React over Vue.js, and of Vue.js over React?
a
I would use React because, it's wrappers are officially supported by Jetbrains
2
d
I just found out how good is the support for React in Kotlin!
I am won! React is definitely the Javascript framework you want to use with Kotlin