这个默认缓存的策略终于改了,真的很让人迷惑,尤其可能到生产环境才会意识到要加配置。
5 月 24 日 · 周五
5 月 20 日 · 周一
5 月 18 日 · 周六
在我的区块链博客发布了一篇新文章《为什么是 ESLint》,快来看看吧! https://hyoban.xlog.app/why-eslint via @_xLog
5 月 16 日 · 周四
看了一天 React Conf,React Compiler 太有意思了。 https://www.youtube.com/live/T8TZQ6k4SLE?si=SDWgt8DaRAO3VBMw
5 月 13 日 · 周一
我的 ocbc 终于可以用了,我可以开启我的赞助计划了。打算每个月设定20刀的预算去赞助开源作者,主要是自己日常在用的项目的作者,或是从他的博客、演讲中学到东西。
💖 I'm sponsoring @DIYgod because of yy's great work on @_RSSHub, @_xLog, and upcoming rss reader follow. https://github.com/sponsors/DIYgod?sc=t&sp=hyoban
I've just contributed to @antfu7. Consider supporting them too — every little helps! https://opencollective.com/antfu via @opencollect
💖 I'm sponsoring @webprolific because his work on knip and release-it, knip helped me remove a lot of useless dependencies and dead code https://github.com/sponsors/webpro?sc=t&sp=hyoban
@antfu7 @opencollect Anthony Fu and the authors of other projects in the ecosystem helped me a lot, so I chose to sponsor from Anthony Fu Collective
5 月 11 日 · 周六
五一调休https://github.com/hyoban/unocss-preset-shadcn 是我我目前最成功的开源项目了🥹,有人用,有 issue,有 PR,感受到了维护开源项目的快乐。 还有就是 https://github.com/hyoban/tailwindcss-classname-highlight,也能感受到。
5 月 7 日 · 周二
好像 GitHub 不支持你用组织号去提 PR 的同时允许作者修改这个 PR。 https://github.com/orgs/community/discussions/5634 我是想着用把所有 fork 来给别人提 PR 的仓库都归类到一个组织下面,保持自己个人账户下面的仓库少一点。看来我不该这么做了,很抱歉给项目维护者带来了麻烦。
5 月 6 日 · 周一
我越来约爱用 eslint 来格式化代码了,尤其是在有 antfu 的 https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md 规则用的情况下。 这种给 lint 工具一个提示让它帮我做事情的策略真的很棒。还有一个不容错过的插件就是 https://eslint-plugin-command.antfu.me/commands/keep-sorted,keep-sorted 在你需要对特定位置排序时非常舒服。
我不太能适应 prettier 强制决定代码什么时候该换行,主要是它的决定在不少的场景下不会让代码变得更好看。



