这里记录每周值得分享的科技内容,周五发布。 本杂志开源,欢迎投稿。另有《谁在招人》服务,发布程序员招聘信息。合作请邮件联系(yifeng.ruan@gmail.com)。 封面图 内蒙古库布其沙漠的...
这里记录每周值得分享的科技内容,周五发布。 本杂志开源,欢迎投稿。另有《谁在招人》服务,发布程序员招聘信息。合作请邮件联系(yifeng.ruan@gmail.com)。 封面图 温州江心屿是瓯江里...
这里记录每周值得分享的科技内容,周五发布。 本杂志开源,欢迎投稿。另有《谁在招人》服务,发布程序员招聘信息。合作请邮件联系(yifeng.ruan@gmail.com)。 封面图 世界最大博物馆之一...
To quote myself in a most recently yet-to-be-published paper: 💪 The ability of deep neural networks...
Introduction In this post, I would like to reflect on my journey in open source software development...
Learn how to extract the type of an array element in TypeScript using the powerful `Array[number]` t...
Learn how to publish a package to npm with a complete setup including, TypeScript, Prettier, Vitest,...
Introduction There was a discussion in our team after releasing Zustand v3 and the brand new Jotai. ...
Enums in TypeScript can be confusing, with differences between numeric and string enums causing unex...
Introduction In this post, I would like to share the story of why I started developing Jotai. While ...
Is TypeScript just a linter? No, but yes....
Introduction In this post, I would like to share the story behind Zustand’s development. To be preci...
It's a massive ship day. We're launching a free TypeScript book, new course, giveaway, price cut, an...
Learn why the order you specify object properties in TypeScript matters and how it can affect type i...
Learn how to use `corepack` to configure package managers in Node.js projects, ensuring you always u...
Learn TypeScript by setting up a pro environment, using advanced IDE features, and mastering type an...
Learn how to strongly type process.env in TypeScript by either augmenting global type or validating ...
Introduction I’ve been sharing tips about Jotai on Twitter, calling them “Jotai tips.” As tweets ten...
Discover when it's appropriate to use TypeScript's `any` type despite its risks. Learn about legitim...
Learn why TypeScript's types don't exist at runtime. Discover how TypeScript compiles down to JavaSc...
Improve React TypeScript performance by replacing type & with interface extends. Boost IDE and tsc s...
In this book teaser, we discuss deriving vs decoupling your types: when building relationships betwe...
Learn how TypeScript's new utility type, NoInfer, can improve inference behavior by controlling wher...
Learn how to set up TypeScript to bundle a Node app using pnpm, Node.js, TypeScript, and ES Modules ...
TypeScript 5.5 introduces type predicate inference from function bodies, simplifying type narrowing ...
Learn why it's not possible to restrict the type of children in React components with TypeScript....
Learn how to make TypeScript functions more flexible and type-safe by using type parameters instead ...
Introduction Jotai is developed to solve an extra re-render issue with React Context. A major challe...
Introduction Jotai is a powerful library designed for seamless integration with React Suspense. Unli...
Introduction Note: This post focuses on Zustand library’s implementation in TypeScript. It does not ...
偶然在时间线上刷到你的推文,顺着主页翻到了历史的博客。 周日的晚上竟然失眠,久久没能睡着,透过这些记录,看到了一种野蛮生长的魅力。 通过你分享的一些片段,我脑海中构建出来了一个虚拟的,敢想敢做的个体,...
A missing feature in system programming....
From programming, beyond programming....
A beautiful danger....
The old-new-thing....
A new home....
Introduction In the world of web frontend development, signals have become a popular topic. At their...
那是个美妙的晚上,老师通知我们前往。 先是不放,后却松绑,最后琴理将要下场。 前排同学异常感伤,后排却开始鼓掌。 学校让我们放弃抵抗,三天之内将我们埋葬。 回忆琴理的日常,我们在这一起生长。 从掌上沈...
这是王山而同志在琴理工作室第一届全体会议上的发言。 各位琴理工作室的同学们,大家期盼的会议现在开始了。 我们的会议包括一百多名学生,拥有全校各学院、各专业的顶尖人才。这就说明,我们的会议是一个团结的会...
Introduction When I first saw SolidJS and Preact Signals, I thought they are interesting but they ar...
Introduction When Jotai development was started (before releasing v1), it has a simple goal. It opti...
It has been a while since my last update. And to be fair, 2022 was a very boring and event-less year...
午时 奴才总不过是寻人诉苦。只要这样,也只能这样。 起身,拉开遮光帘,瞄了眼床下,室友都在床上刷手机。 翻个身又躺了会儿,接着就起床去工作室写了一天代码。 待晚上回去时,宿舍剩下的三人买了些啤酒花生,...
Introduction Jotai is a library for React state management. The API (let’s call it v1 API) is design...
大概思考了一下,所有行动必须要有一个纲领。做这些事情,肯定不是为了让这个国家动乱,是想要让国家更好。所以要列出诉求,不能像 xx (懂得都懂) 事件一样,很多学生的想法都不同,到底是要计划经济,还是要...
致全体沈理学子的一封信 “中华人民共和国公民的人身自由不受侵犯。任何公民,非经人民检察院批准或者决定或者人民法院决定,并由公安机关执行,不受逮捕。禁止非法拘禁和以其他方法非法剥夺或者限制公民的人身自由...
一个建议书模板,给大家参考。 尊敬的校领导: 您好!我是一名沈理学生,每日体温填报对学校了解学生健康情况有一定帮助,对疫情防控有一定作用。本人在暑假期间每日准时填报体温,在此过程中发现一些问题值得改善...
Yep, that’s the title There’s no click-bait. Though I’m at home working remotely, meaning that I hav...
Introduction If someone has already looked into package.json in the jotai library, they may find "ex...
Introduction Recently, I often got asked about this question: Which is recommended, valtio or jotai?...
Hey again. It has been a year since I last talked about building a blog with Notion. A lot has chang...
Introduction In the previous article, we explained how Valtio proxy state works. It tracks mutations...
Introduction I stumbled upon 7GUIS tasks while reading XState Tutorials. This motivated me to challe...
Introduction Valtio is a library for global state primarily for React. It’s originally modeled to ma...
Introduction The React team announced The Plan for React 18 with various features. Among them, concu...
!!! success "🛸 我免费啦" (^^ゞ 从 4 月 1 号开始的十天自我隔离终于结束啦! 不知道大家有没有发现,不过我确实 人在英国,刚下飞机。今天是我十天隔离的最后一天,明天我就正式可以...
!!! bug "🔥" An update in 2022: Revisiting blogging with Notion in 2022. Yup, yup, yup! (Paimon nois...
Welcome 2021. 昨天(2020/1/1)我也才刚刚从北京回家的高铁上下来,现在我坐在刚搬来的新家里,用着陪伴了我快 3 年的机械键盘,写下这份迟到了一天的碎碎念。希望大家不要嫌弃。...
起因 这件事情还要从我校为毕业生收拾行李开始讲起。今年六月末北京疫情复发,这一波直接让我们北京高校毕业生无法返校,个人行李物品必须由学校老师代为整理快递回家。这件事情让同级的同学们非常不满,于是微博知...
After trying many apps, my favorite macOS color picker remains the built in utility. It's only shown...
I had an idea for caching SVG paths. Not the usual kind of async request caching of remote SVGs, but...
If you want to add custom CSS to a website without using a browser extension, you can proxy the site...
SWR is a React hook for data fetching that features a cache for requests. This is generally used to ...
There is no previous sibling selector in CSS. Instead, we can achieve the same behavior by using fle...
It's difficult to transition between themes smoothly. Adding a CSS transition to every element negat...
Nine days after first writing this post, the Next.js team landed support for paths in tsconfig.json ...
The text-decoration: underline CSS property provides insufficient control over the underline styling...
I have trouble falling asleep. Too many ideas and thoughts from a day with too little activity, I su...
Styled System is an excellent alternative to writing ad-hoc style declarations in your React compone...
My crappy superpower is solving difficult problems as I'm falling asleep. Doesn't sound too bad, rig...
A favorite quote from an old friend. I really admire that there are people of all ages that are able...
I find great satisfaction in writing beautiful code. Very few will ever see this effort and apprecia...
Have you noticed that some people write extremely well? Take Aaron Swartz' article "Believe you can ...
I am consistently unhappy with my creative output. My job title includes designer, but I'm not good ...
I created Dusk to make my dock look more visually harmonious. LiteIcon does a great job of automatin...
I began my Computer Science degree with an intensive introduction course in C. We used makefiles to ...