·data-fetching-patterns
{}

data-fetching-patterns

解释数据获取策略,包括渲染时获取、获取然后渲染、获取时渲染以及服务器端数据获取。在实现数据加载、优化加载性能或在客户端和服务器数据获取之间进行选择时使用。

4安装·0热度·@farming-labs

安装

$npx skills add https://github.com/farming-labs/fm-skills --skill data-fetching-patterns

如何安装 data-fetching-patterns

通过命令行快速安装 data-fetching-patterns AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/farming-labs/fm-skills --skill data-fetching-patterns
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:farming-labs/fm-skills。

SKILL.md

查看原文

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
分类
{}数据分析
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from farming-labs/fm-skills

快速解答

什么是 data-fetching-patterns?

解释数据获取策略,包括渲染时获取、获取然后渲染、获取时渲染以及服务器端数据获取。在实现数据加载、优化加载性能或在客户端和服务器数据获取之间进行选择时使用。 来源:farming-labs/fm-skills。

如何安装 data-fetching-patterns?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/farming-labs/fm-skills --skill data-fetching-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/farming-labs/fm-skills