什么是 data-fetching-patterns?
解释数据获取策略,包括渲染时获取、获取然后渲染、获取时渲染以及服务器端数据获取。在实现数据加载、优化加载性能或在客户端和服务器数据获取之间进行选择时使用。 来源:farming-labs/fm-skills。
解释数据获取策略,包括渲染时获取、获取然后渲染、获取时渲染以及服务器端数据获取。在实现数据加载、优化加载性能或在客户端和服务器数据获取之间进行选择时使用。
通过命令行快速安装 data-fetching-patterns AI 技能到你的开发环境
来源:farming-labs/fm-skills。
Data fetching is how your application retrieves data from APIs or databases. The pattern you choose affects performance, user experience, and code complexity.
| Server (build) | Build time | Static content (SSG) | | Server (request) | Each request | Dynamic content (SSR) | | Client (browser) | After hydration | Interactive, real-time | | Edge | At CDN edge | Personalization, A/B tests |
Stream HTML to the browser as soon as each part of your UI is ready—even if it's out of order—letting users see content without having to wait for everything.
解释数据获取策略,包括渲染时获取、获取然后渲染、获取时渲染以及服务器端数据获取。在实现数据加载、优化加载性能或在客户端和服务器数据获取之间进行选择时使用。 来源:farming-labs/fm-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/farming-labs/fm-skills --skill data-fetching-patterns解释数据获取策略,包括渲染时获取、获取然后渲染、获取时渲染以及服务器端数据获取。在实现数据加载、优化加载性能或在客户端和服务器数据获取之间进行选择时使用。 来源:farming-labs/fm-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/farming-labs/fm-skills --skill data-fetching-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/farming-labs/fm-skills