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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Bored and have some free time? Help me QA my side project

1 点作者 elisk超过 4 年前

3 条评论

elisk超过 4 年前
Some basics as there&#x27;s no explanation within:<p>It&#x27;s a notebook interface, not unlike Jupyter or ObservableHQ, where you can write the standard JS you write when creating react&#x2F;vue&#x2F;angular apps (or vanialla if that&#x27;s your cup of tea!), and it will not only instantly render infront of your eyes but you can also &quot;deploy&quot; apps&#x2F;sites instantly without any actual build process or deploy process - it&#x27;s all compiled on the fly, and the end result is an SSR rendered web app or site that loads instantly with sub-second rendering.<p>I&#x27;ve been working on it ever since the coronavirus lockdowns started, this is the mvp version I&#x27;ve been working on since June after earlier releasing a successful POC.
elisk超过 4 年前
A really bare-bone example (feel free to add your own):<p><a href="https:&#x2F;&#x2F;djit.su&#x2F;deEv1mHbwzl1YBdQATEiW" rel="nofollow">https:&#x2F;&#x2F;djit.su&#x2F;deEv1mHbwzl1YBdQATEiW</a> - the &quot;notebook&quot; with a simple ant demo i&#x27;m using to calibrate the theme<p>and <a href="https:&#x2F;&#x2F;djit.su&#x2F;deEv1mHbwzl1YBdQATEiW&#x2F;Main" rel="nofollow">https:&#x2F;&#x2F;djit.su&#x2F;deEv1mHbwzl1YBdQATEiW&#x2F;Main</a> - is the export &quot;Main&quot; that can be seen in the first block in the notebook.
elisk超过 4 年前
External import would work as you expect - simple use &quot;import Whatever from &#x27;<a href="https:&#x2F;&#x2F;unpkg.com&#x2F;pkgname&#x2F;file.js" rel="nofollow">https:&#x2F;&#x2F;unpkg.com&#x2F;pkgname&#x2F;file.js</a>&#x27;&quot; or alternatively use the shorthand `&#x2F;&#x2F;` for the package name and the system will do it&#x27;s best to fetch the package, like so: &quot;import Whatever from &#x27;&#x2F;&#x2F;package-name&#x2F;package.file.ext&#x27;