- Published on
All Posts
All Posts
- nextjs (17)
- express (12)
- best-practices (11)
- ai-companion (11)
- react (10)
- web-scraping (8)
- leetcode (7)
- hono (6)
- gotcha (6)
- elasticsearch (6)
- git (6)
- mongodb (5)
- scrapy (5)
- interview (5)
- supabase (4)
- aws (4)
- websocket (4)
- authjs (4)
- k8s (4)
- cloudflare (3)
- undetected-chromedriver (3)
- vercel (3)
- react-query (3)
- prisma (3)
- protobuf (3)
- shadcn (3)
- curl_cffi (2)
- clerk (2)
- authentication (2)
- deployment (2)
- docker (2)
- drizzle (2)
- neon (2)
- redis (2)
- tailwind-css (2)
- tiptap (2)
- zod (2)
- zustand (2)
- pino (2)
- fastify (2)
- trpc (2)
- fabric (2)
- mongoose (2)
- browser-automation (1)
- cache-control (1)
- free-tier (1)
- cloud-databases (1)
- sql (1)
- nosql (1)
- planetscale (1)
- postgresql (1)
- flyio (1)
- giscus (1)
- isr (1)
- jotai (1)
- newsletter (1)
- mailerlite (1)
- redux (1)
- reford (1)
- english (1)
- ai-integration (1)
- sonner (1)
- swr (1)
- s3 (1)
- test (1)
- tsc (1)
- vscode (1)
- trie-树 (1)
- token (1)
- tts (1)
- airflow (1)
- oauth (1)
- credential (1)
- eks (1)
- cicd (1)
- apidoc (1)
- pm2 (1)
- cluster (1)
- kafka (1)
- streaming (1)
- superjson (1)
- leetcode_javascript (1)
- lib (1)
- notion (1)
- eslint (1)
- prettier (1)
- swagger (1)
- Published on
由于字段 isActive 是后续添加, 即便默认为 true , 数据库中已有记录并没有改字段, 如果使用 query={isActive: true} , mongodb将会显式比较 isActive: true 的数据- Published on
当提交(pull request)被撤销(revert), 之后再次提交, 会无法显示变更- Published on
Monorepo(Mono Repository) 是一种项目组织结构,指的是多个相关项目(比如多个 npm 包)共享一个仓库。使用 pnpm workspace 方便统一管理多个 package 的依赖, 自动将本地 package 相互链接, 支持在根目录运行构建、测试、发布等操作 Turborepo 是由 Vercel 开发的一个 高性能 Monorepo 工具,用来帮助你管理多个项目(App/Package)在同一个仓库中。- Published on
在 JavaScript 中,JSON.stringify() 可以正确序列化基本类型和普通对象,但不能正确处理某些特殊类型的数据, 比如 Set