Is Compose/HTML used in production somewhere? I wo...
# compose-web
n
Is Compose/HTML used in production somewhere? I would like to see some example webapps if there are any... Unfortunatelly - as I see - this framework is somewhat low priority for Jetbrains :|
r
Some example websites have been posted on #kobweb (kobweb is based on Compose/HTML)
πŸ‘€ 1
πŸ™ 1
d
Thanks @Robert Jaros!
Kobweb author here, let me know if you have any questions here or in the #kobweb room.
@Norbi Even if JB has not been able to prioritize Compose/HTML recently (as they focus on Multiplatform), we're still a growing community that's keeping the fires burning.
πŸ‘πŸ» 1
πŸ‘πŸΎ 1
Good news is Compose/HTML even in its current form, if it was never updated again, plus Kotlin/JS, already lets you accomplish a lot -- it's a pretty awesome foundation. Definitely does some smart tricks that I never would have thought of. And at the end of the day there are enough escape hatches that you can pretty much interact with the DOM below directly to do anything the library doesn't currently do. And with Kobweb, we've been building up a
compose-html-ext
artifact within it which extends Compose/HTML even if you never use Kobweb itself.
πŸ™ 1
πŸ’― 1
I think it's still early days, but whenever someone pings me with a portfolio or landing site they created, I share it in the Kobweb channel.
πŸ‘ 1
πŸ‘πŸΎ 1
And there's a user who has been releasing courses and YT videos featuring Kobweb, so hopefully we'll see even more.
My own blog site still isn't much, but it's built on Kobweb, and here's a post within the blog site about deploying your own site using a static layout site hosting provider: https://bitspittle.dev/blog/2022/staticdeploy
πŸ™Œ 1
πŸ‘πŸ» 1
n
compose-html-ext
Thanks, this project seems to be very useful :)
πŸ‘ 1
d
Now that we're approaching Kobweb 1.0, we're going to focus pretty heavily on API gaps, so
compose-html-ext
should get even better over the coming months.
πŸ™ŒπŸ» 1
h
Sure, we use Compose/HTML in production because it offers better accessibility, faster startup and better interoperability with other libs.
πŸ‘ 1
βž• 1
n
Thanks, I will check out Kobweb. The reason why I skipped it first was that it seemed to be heavy-weight. I'd like to use my existing communication, server-side, etc. code and I'm only interested in the browser side - but maybe it is worth using it this way as well!
d
Sure. Using Kobweb just for just the frontend is a supported use-case: https://github.com/varabyte/kobweb#using-your-own-backend-with-kobweb
πŸ™ŒπŸ» 1
πŸ™ 1
f
Also looking forward to checking out
compose-html-ext
πŸ™‚
f
Thanks, will definitely check it out
d
Note that for my own velocity, I'm using a custom repository for Kobweb code (will start using Maven Central when I get to 1.0). But you can use the artifact in your code by adding the maven repository
<https://us-central1-maven.pkg.dev/varabyte-repos/public>
to your build script, and the artifact coordinate is
com.varabyte.kobweb:compose-html-ext
πŸ‘πŸ» 1
f
@ian.shaun.thomas ☝️ definitely worth checking out when you get the chance
d
Good luck and feel free to ping the #kobweb channel if you have any feedback about it!
πŸ‘ 1
thank you color 1
πŸ™ 1