Are there any sample compose-web project with a server-side component? Can a compose-web application be served from a ktor-instance that also handles incoming REST calls for instance? Most examples I found were "client-only" 🙂
compose-web is just another webapp and can be served in exactly the same approaches as react or angular apps
09/15/2021, 9:18 PM
awesome, this was just what I was looking for 😄 have a lot of things been breaking between releases so far?
09/15/2021, 11:19 PM
There was just one I remember where they moved around lits of packages
09/16/2021, 6:55 AM
Is there a way to throw autoreload into the mix here? Proper autoreload for changes made in both the server and the compose client would be nice
09/16/2021, 7:08 AM
@Skovisen read the Kotlin docs for JS auto reload, and the Ktor docs for server auto reload. I don't really recommend auto reload with the server serving Kotlin JS though, because that will ruin your compilation time.