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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Writing Crank.js from Scratch

1 点作者 bikeshaving超过 4 年前

1 comment

bikeshaving超过 4 年前
I wrote a step-by-step implementation of the majority of Crank.js’s component model. I was sort of sad to see what’s happened to Hacktoberfest so I wanted to do this writeup to encourage contributions. Took me an extra week or two to finish though.<p>It might take an hour-ish to read, but there’s some good descriptions of advanced techniques for working with JS iterators and promises, and thought maybe the Hacker News audience would appreciate that. Let me know what you think or if you have any questions.