Even after reading that, I still favor Ktor. Obviously if youāre doing a multiplatform client itās much easier, but the current problem is with tooling and that will only improve so itās all about how critical you are about your frontend app size. Itās not that critical for me
š 1
g
gaetan
11/08/2019, 8:32 AM
That was the goal of this test. Define what is essential for you. Not using Webpack also makes sense to benefit from client caching between different pages.
But file distribution sizes may be critical in some context. That is why Kotlin needs to be on par or better than pure JS tools.
r
ribesg
11/08/2019, 8:57 AM
I also donāt know a lot about frontend development, Right now Iāve got a ābigā js file packaged by webpack, but hopefully Iāll be able to offer all separate js files and make it work. If you just have to download 95% of the app size once even if I update my app daily, thatās cool for me. Iām not doing a landing page in Kotlin/JS
g
gaetan
11/08/2019, 9:06 AM
There is one problem: having (a) big(s) js file(s) means more time for the browser to parse it. We need an excellent DCE tool to remove ALL dead code and ease browser work.
The distribution of applications depends on many use cases.
In mine, I want fast loading because every page can be a landing page like this one: https://play.data2viz.io/pierre/sketches/dJbyoY/view/
t
Tristan
11/08/2019, 2:34 PM
I've never reach the point of even having Kotlin/JS. I am always confused with the configuration to get an output š
š 1
g
gaetan
11/08/2019, 2:37 PM
You can try by just getting my todokotlin project and launch