TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Kotlin Static Site Deployment with Kobweb

4 点作者 alwaysdoit超过 3 年前

1 comment

bitspittle超过 3 年前
Hey, author here. I&#x27;m new to Hackernews so my friend posted the link, but I&#x27;d be happy to answer any questions.<p>For some background: Kobweb is built on top of Compose for Web, which is a fairly recent, official, reactive UI framework written in Kotlin. I know that frontend development in Kotlin is still early days yet, but I personally love what JetBrains is trying to do here.<p>Compose for Web is really neat tech, but there are many decisions it leaves up to the programmer (by design). I&#x27;m using Kobweb to add in some opinionated solutions, such as handling routing, client&#x2F;server communication, color mode support, and (relevant to this post) static site exporting.<p>Perhaps the best analogy would be I&#x27;m writing something like Next.js for React, but in the world of Kotlin.