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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Typy – type checking library for JavaScript with a 'sweeter' syntax

1 点作者 flexdinesh超过 7 年前

1 comment

joncampbelldev超过 7 年前
For the nested object traversal, is there a reason this uses string based paths instead of array based? Dynamic path building via string concatenation feels messy.<p>Seems like there may be a performance hit too with all the string operations inside &#x27;utils&#x2F;getNestedObject&#x27;. Probably not an issue for messing around in small amounts of data, but using this to manipulate a big server response could run into issues.