Tags → #coding
-
React 的设计哲学
不知道大家有没有遇到过在一个网页输入内容的时候,每次输入都得卡个半秒;又或者点一下运行,整个页面完全无法交互,变得像一张图片,任你点击都没有任何反应。 从前,React 渲染就有一个致命缺陷,在 `setState` 时,**当前组件的整个树**都会运行渲染函数。即使使用了虚拟 DOM,这里面...
-
Automatically Update Open Source Project API Documentation Using GitHub Actions
This article teaches you how to automatically update a Docusaurus-driven documentation repository after releasing an open-source TypeScript library.
-
Actualizar automáticamente la documentación de la API de un proyecto de código abierto usando GitHub Actions
Este artículo te enseña cómo actualizar automáticamente un repositorio de documentación impulsado por Docusaurus después de lanzar una biblioteca de TypeScript de código abierto.
-
GitHub Actionsを使用してオープンソースプロジェクトのAPIドキュメントを自動更新する
この記事では、オープンソースのTypeScriptライブラリをリリースした後に、Docusaurus駆動のドキュメントリポジトリを自動的に更新する方法を教えます。
-
使用 Github Action 自动更新开源项目 API 文档
本文教你如何做到在开源 Typescript 库发布后自动更新 docusaurus 驱动的文档仓库
-
浏览器调试的 67 个实用技巧
高级浏览器调试技巧
-
考虑路由来源的 Vue 页面缓存逻辑
本文介绍了在Vue框架中实现页面缓存逻辑的两种方案。初版方案通过keep-alive和router-view结合使用,以及路由守卫来控制页面缓存,但存在逻辑复杂的问题。新方案简化了逻辑,通过构建目标页面和来源页面的关系,优化了缓存机制,使得代码更加简洁且易于理解。
-
How Do Characters Actually Appear on Your Computer Screen?
Explore the mysteries of character encoding: from ASCII to Unicode, understand the origins and evolution of character encoding tables. Dive deep into Unicode's encoding mechanisms, including UTF-8, UTF-16, and UTF-32, and their applications in modern programming languages. This article also details the relationship between fonts and encoding, and how to handle special encoding issues with Emoji and CJK characters.