Incredible! The latest video from Stevdza-san show...
# kobweb
d
Incredible! The latest video from Stevdza-san showcases how to create a multiplatform project with Android and Kobweb sitting side by side, sharing common business logic and a common backend between them.

https://www.youtube.com/watch?v=zcrY0qayWF4

🎉 7
I really appreciate this. I've been wanting to put together a demo project for a long time now, but it's been hard to prioritize since my eyes are focused on getting Kobweb to 1.0. Stevdza-san to the rescue, doing a much classier job than I could ever hope to.
My official stance on Kobweb existing in a world with Compose Multiplatform for Web can be read here: https://github.com/varabyte/kobweb#what-about-compose-multiplatform-for-web but TL;DR is there's room for both solutions. However, in my heart, I think that doing what Stevdza-san is proposing here, using multiplatform for business logic and separating out the Android and Web modules, is actually a better way. Web and mobile are just so different, that you really want to diverge your code a bit to get the benefits of both platforms. Slapping a giant canvas covering your web page just doesn't sit right with me as "the true way forward", and I suspect any companies that might start by going this route will find themselves wanting to rewrite the web layer before too long.
💯 5
It's something I wanted to communicate for a while, but I kept thinking, "I should probably have a real project done before I open my big mouth" 🙂 But hey, here you go! Stevdza-san provides.