Is it possible to migrate from an Android app and ...
# ballast
d
Is it possible to migrate from an Android app and web site in Next.js to KMP and eventually compose mulitplatform step-by-step, or is it a complete rewrite? How would one approach this?
c
This question is probably more appropriate for #multiplatform, but in general it should be easy enough to gradually adopt KMP for your Android app, but it would be a bit more difficult with the website. Kotlin in the browser is much easier to run as a Single-Page App with Compose, and I don’t even know if it would be possible to nativly integrate that with the Next.JS app. The only way I would really see if working is to have the KMP app replace pages from the NextJS site one at a time, and use your load balancer to direct traffic to the NextJS or KMP site based on the URL path, gradually moving more URLs over to KMP until there’s nothing sent to the NextJS site anymore.
d
Sorrry for asking the question here... #ballast was one entry on top of my #compose channel, I probably accidentally posted here instead of there... and thanks for the elaborate answer!