{"title":"Next.js \u306e\u53d6\u5f97\u95a2\u6570\u306e\u4e2d\u306f\u3069\u3046\u306a\u3063\u3066\u3044\u308b\u306e\u304b\u3001\u623b\u308a\u5024\u306f\u306a\u305c data \u3068 error \u306b\u5206\u304b\u308c\u3066\u3044\u308b\u306e\u304b","description":"\u306f\u3058\u3081\u306b \u65b0\u3057\u3044\u753b\u9762\u306e\u305f\u3081\u306b\u3001\u8868\u793a\u306b\u4f7f\u3046\u30c7\u30fc\u30bf\u3092 API \u304b\u3089\u53d6\u3063\u3066\u304f\u308b\u95a2\u6570\u3092\u66f8\u3044\u3066\u3044\u305f\u3002 \u672c\u8a18\u4e8b\u3067\u306f\u3001\u3053\u306e\u95a2\u6570\u3092\u53d6\u5f97\u95a2\u6570\u3068\u547c\u3076\u3002 \u66f8\u3044\u3066\u3044\u308b\u9014\u4e2d\u3067\u3001\u623b\u308a\u5024\u306e\u578b\u304c { data } | { error } \u306b\u306a\u3063\u3066\u3044\u308b\u7406\u7531\u3092\u805e\u304b\u308c\u305f\u3002 \u53d6\u5f97\u95a2\u6570\u306e\u4e2d\u306b\u306f\u3001API \u3092\u547c\u3076\u51e6\u7406\u306e\u307b\u304b\u306b\u3001\u30e2\u30c3\u30af\u3078\u306e\u5207\u308a\u66ff\u3048\u3001server-only \u306e import\u3001\u5171\u901a\u306e fetch \u95a2\u6570\u306e\u547c\u3073\u51fa\u3057\u3001\u30a8\u30e9\u30fc\u306e\u5206\u985e\u304c\u4e26\u3093\u3067\u3044\u308b\u3002 \u578b\u306e\u7406\u7531\u306f\u3001\u3053\u308c\u3089\u3068\u5408\u308f\u305b\u3066\u8aad\u307e\u306a\u3044\u3068\u8aac\u660e\u3057\u306b\u304f\u3044\u3002 \u672c\u8a18\u4e8b\u3067\u306f\u3001\u624b\u5143\u306e\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u306e\u53d6\u5f97\u95a2\u6570\u3092\u4e0a\u304b\u3089\u8aad\u307f\u3001\u305d\u308c\u305e\u308c\u304c\u4f55\u306e\u305f\u3081\u306b\u3042\u308b\u306e\u304b\u3092\u78ba\u304b\u3081\u308b\u3002 \u984c\u6750\u306f\u3001\u4f1a\u54e1\u5411\u3051\u306e\u300c\u304a\u77e5\u3089\u305b\u8a73\u7d30\u300d\u3092\u53d6\u308b\u95a2\u2026","categories":["\u6280\u8853"],"author_url":"https://blog.hatena.ne.jp/chamotarooo/","provider_name":"Hatena Blog","type":"rich","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchamotaro.hatenablog.com%2Fentry%2Ftech%2Fnextjs-fetcher-anatomy\" title=\"Next.js \u306e\u53d6\u5f97\u95a2\u6570\u306e\u4e2d\u306f\u3069\u3046\u306a\u3063\u3066\u3044\u308b\u306e\u304b\u3001\u623b\u308a\u5024\u306f\u306a\u305c data \u3068 error \u306b\u5206\u304b\u308c\u3066\u3044\u308b\u306e\u304b - chamotarooo\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","url":"https://chamotaro.hatenablog.com/entry/tech/nextjs-fetcher-anatomy","author_name":"chamotarooo","provider_url":"https://hatena.blog","blog_title":"chamotarooo\u306e\u30d6\u30ed\u30b0","published":"2026-10-09 20:46:34","blog_url":"https://chamotaro.hatenablog.com/","version":"1.0","image_url":null}