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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: GreenJS, add performant React pages to an existing site

7 点作者 colinchartier超过 3 年前

1 comment

colinchartier超过 3 年前
Me and a friend have been working on this small framework that wraps esbuild (<a href="https:&#x2F;&#x2F;esbuild.github.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;esbuild.github.io&#x2F;</a>), it adds a few javascript tags like &lt;Router&gt; and &lt;Head&gt;, then pre-renders pages with headless chrome and spits out a high performance webserver that can forward traffic to another website.<p>It&#x27;s built so that you can do &quot;start&quot;: &quot;concurrently &#x27;greenjs start -upstream-addr :8000&#x27; &#x27;rails dev&#x27;&quot; or equivalent for another web framework