不知答案尚可求,不知问题何以谋。
#Node #文章 node 版本管理工具可能会拖慢你的终端?
NVM (warm): 148-217ms per switch
FNM (warm): 4-5ms per switch
Volta (warm): 2-3ms per switch
https://nodevibe.substack.com/p/the-500x-performance-gap-between
NVM (warm): 148-217ms per switch
FNM (warm): 4-5ms per switch
Volta (warm): 2-3ms per switch
https://nodevibe.substack.com/p/the-500x-performance-gap-between
#文章 模块联邦(Module Federation)是实现高自治、跨框架微前端架构的核心方案,通过运行时动态集成、共享依赖管理和独立部署,解决企业级前端应用的技术债务与团队协作痛点,适用于React与Angular混合环境,但需严格管理版本兼容性与通信规范。
https://developersvoice.com/blog/frontend/micro-frontends-with-react-and-angular/
https://developersvoice.com/blog/frontend/micro-frontends-with-react-and-angular/
#React #文章 如果你在用 Tauri + React 做多窗口应用,不想牺牲响应式体验,又愿意接受轻微的状态延迟,这篇文章提供的“松耦合同步”方案是一个非常实用的折中方案。
https://www.gethopp.app/blog/tauri-window-state-sync
https://www.gethopp.app/blog/tauri-window-state-sync
#文章 “JavaScript 不会变成 Rust,但 JavaScript 的工具链正在被 Rust 重写。”
https://endform.dev/blog/js-is-being-rewritten-in-rust/
https://endform.dev/blog/js-is-being-rewritten-in-rust/
#React #CSS #文章 《如何为 React 应用程序添加样式》文章提到了语义化CSS、设计令牌(Design Tokens)、CSS-in-JS(如styled-components)和Utility-First框架(如Tailwind)四种CSS方案,作者最终推荐Utility-First(如Tailwind),因其通过原子类组合实现高效、低复杂度的组件级样式管理,并强调“复用组件而非样式”的核心原则。
https://alexkondov.com/full-stack-tao-styling/
https://alexkondov.com/full-stack-tao-styling/
#React #文章 React的复杂性源于交互式UI的固有难题,建议优先使用服务端渲染(SSR),仅在必要时引入React以减少混乱。
https://mbrizic.com/blog/react-is-insane/
https://mbrizic.com/blog/react-is-insane/
#文章 深入剖析了在复杂创意软件中打造直观且可靠的撤销/重做系统的全过程,从设计思路到实现细节,再到面临的挑战与未来改进方向,为开发者提供了极具价值的实战经验与技术洞察,极具启发性。
https://mlacast.com/projects/undo-redo
https://mlacast.com/projects/undo-redo
#文章 代码高亮虽然现在Shiki 盛行,但是Prism.js前辈也有很多值得学习的地方。
https://www.bram.us/2024/02/18/custom-highlight-api-for-syntax-highlighting/
https://www.bram.us/2024/02/18/custom-highlight-api-for-syntax-highlighting/
#文章 这也是一篇回顾2006-2015年JavaScript的开发模式的文章(js简史),展示了早期开发者如何在有限的语言特性下创造性地解决浏览器不一致性等问题,这些技术虽已过时,但在当时却非常优雅地解决了实际问题。
https://www.trevorlasn.com/blog/revisiting-legacy-javascript
https://www.trevorlasn.com/blog/revisiting-legacy-javascript
#文章 #CSS 通过使用OKLCH颜色空间来改善颜色管理。文章首先介绍了Tailwind的优势,包括小体积、高性能和内置代码分割等。接着,文章解释了动态主题的概念及其重要性,强调了个性化对用户参与度和满意度的积极影响。
https://evilmartians.com/chronicles/better-dynamic-themes-in-tailwind-with-oklch-color-magic
https://evilmartians.com/chronicles/better-dynamic-themes-in-tailwind-with-oklch-color-magic
#文章 #CSS OKLCH是一种新的色彩模型,解决了传统色彩模型(如RGB和HSL)在色彩表达上的局限性,提供了更一致、连贯、可访问且感知上均匀的色彩体验。文章详细介绍了OKLCH在CSS中的应用,以及一系列工具,如OKLCH色彩选择器、Harmonizer、apcach和Polychrom等,这些工具帮助设计师和开发者更好地使用OKLCH模型,实现更高效、更直观的色彩设计和开发。
https://evilmartians.com/chronicles/exploring-the-oklch-ecosystem-and-its-tools
https://evilmartians.com/chronicles/exploring-the-oklch-ecosystem-and-its-tools
#React #文章 Epic React 的博客文章,对于useSyncExternalStore的完整概述和用法
https://www.epicreact.dev/use-sync-external-store-demystified-for-practical-react-development-w5ac0
https://www.epicreact.dev/use-sync-external-store-demystified-for-practical-react-development-w5ac0
#React #文章 本文探讨了如何将搜索参数作为路由状态的一部分进行管理,强调了 TanStack Router 通过在路由层定义搜索参数模式,实现了类型安全、可验证且响应式的搜索参数处理,解决了传统方法中搜索参数管理的碎片化和不一致性问题。
https://tanstack.com/blog/search-params-are-state
https://tanstack.com/blog/search-params-are-state
#AI #3D #文章 #React 结合React Three Fiber、Three.js和Rapier,创建一个基于物理的第三人称角色控制器。
https://tympanus.net/codrops/2025/05/28/building-a-physics-based-character-controller-with-the-help-of-ai/
https://tympanus.net/codrops/2025/05/28/building-a-physics-based-character-controller-with-the-help-of-ai/