{"id":46249,"date":"2023-06-02T15:21:52","date_gmt":"2023-06-02T06:21:52","guid":{"rendered":"https:\/\/kinqsta.com\/jp\/?p=46249&#038;post_type=knowledgebase&#038;preview_id=46249"},"modified":"2025-10-02T04:46:35","modified_gmt":"2025-10-01T19:46:35","slug":"react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function","status":"publish","type":"post","link":"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/","title":{"rendered":"\u300cReact Hooks must be called in a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5"},"content":{"rendered":"<p>React Hooks\u306f\u3001\u72b6\u614b\u3084\u526f\u4f5c\u7528\u3092\u7ba1\u7406\u3059\u308b\u7c21\u6f54\u304b\u3064\u5f37\u529b\u306a\u6a5f\u80fd\u3067\u3059\u3002<a href=\"https:\/\/kinqsta.com\/jp\/blog\/what-is-react-js\/\">React<\/a>\u3067\u306e\u95a2\u6570\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u8a18\u8ff0\u65b9\u6cd5\u306b\u9769\u547d\u304c\u3082\u305f\u3089\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u3069\u3093\u306a\u65b0\u3057\u3044\u6a5f\u80fd\u3067\u3082\u305d\u3046\u3067\u3059\u304c\u3001\u305d\u308c\u306b\u306f\u72ec\u81ea\u306e\u30eb\u30fc\u30eb\u3068\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\u304c\u4f34\u3044\u307e\u3059\u3002React<a href=\"https:\/\/kinqsta.com\/jp\/blog\/types-of-developers\/\">\u958b\u767a\u8005<\/a>\u304c\u906d\u9047\u3059\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b\u30a8\u30e9\u30fc\u3068\u3057\u3066\u3001\u300creact hooks must be called in a react function component or a custom react hook function\u300d\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001\u3053\u306e\u30a8\u30e9\u30fc\u306e\u8a73\u7d30\u3092\u6398\u308a\u4e0b\u3052\u3001\u306a\u305c\u767a\u751f\u3059\u308b\u306e\u304b\u3092\u7406\u89e3\u3057\u3001\u89e3\u6c7a\u306e\u305f\u3081\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<div><\/div><kinsta-auto-toc heading=\"Table of Contents\" exclude=\"last\" list-style=\"arrow\" selector=\"h2\" count-number=\"-1\"><\/kinsta-auto-toc>\n<h2>\u300cReact Hooks Must Be Called In a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u3068\u306f<\/h2>\n<p>React Hooks\u306e\u4f7f\u7528\u306b\u306f\u30eb\u30fc\u30eb\u304c\u3042\u308a\u307e\u3059\u3002\u591a\u304f\u306eReact\u958b\u767a\u8005\u304c\u3001React\u3092\u5b66\u3076\u969b\u306b\u3053\u3053\u304b\u3089\u9038\u8131\u3057\u3066\u3057\u307e\u3044\u3001\u305d\u308c\u304c\u30a8\u30e9\u30fc\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002\u3088\u304f\u3042\u308b\u30a8\u30e9\u30fc\u306e1\u3064\u304c\u300creact hooks must be called in a react function component or a custom react hook function\u300d\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30a8\u30e9\u30fc\u306f\u3001\u5927\u304d\u304f\u5206\u3051\u30662\u3064\u306e\u3053\u3068\u3092\u884c\u3046\u3068\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30af\u30e9\u30b9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5185\u3067React Hooks\u3092\u4f7f\u7528\u3059\u308b<\/li>\n<li>\u30cd\u30b9\u30c8\u3055\u308c\u305f\u95a2\u6570\u5185\u3067React Hooks\u3092\u547c\u3073\u51fa\u3059<\/li>\n<\/ul>\n<p><code>useState<\/code>\u3001<code>useEffect<\/code>\u3001<code>useContext<\/code>\u306a\u3069\u306eReact Hooks\u306f\u3001\u95a2\u6570\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u307e\u305f\u306f\u30ab\u30b9\u30bf\u30e0\u30d5\u30c3\u30af\u95a2\u6570\u306e\u30c8\u30c3\u30d7\u30ec\u30d9\u30eb\u3067\u547c\u3073\u51fa\u3055\u308c\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u95a2\u6570\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4e2d\u3060\u3051\u3067\u547c\u3073\u51fa\u3059\u3079\u304d\u3067\u3001\u30af\u30e9\u30b9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u306f\u547c\u3073\u51fa\u3059\u3079\u304d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u3089\u306f<a href=\"https:\/\/kinqsta.com\/jp\/blog\/react-hook-useeffect-has-a-missing-dependency\/\">React Hooks<\/a>\u306e2\u3064\u306e\u4e3b\u8981\u306a\u30eb\u30fc\u30eb\u3067\u3042\u308a\u3001React\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067Hooks\u304c\u6b63\u3057\u304f\u4e00\u8cab\u3057\u3066\u4f7f\u7528\u3055\u308c\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002<\/p>\n<p>Hooks\u304c\u7121\u52b9\u306a\u5834\u6240\u3067\u547c\u3073\u51fa\u3055\u308c\u308b\u3068\u3001\u300creact hooks must be called in a react function component or a custom react hook function\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u3053\u306eESLint\u30a8\u30e9\u30fc\u306f\u3001<a href=\"https:\/\/kinqsta.com\/jp\/blog\/chatgpt-clone\/\">React\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/a>\u3067Hooks\u304c\u4e88\u671f\u305b\u306c\u52d5\u4f5c\u3084\u30d0\u30b0\u3092\u5f15\u304d\u8d77\u3053\u3059\u306e\u3092\u9632\u3050\u305f\u3081\u306b\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n\n<h2>\u300cReact Hooks Must Be Called In a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u3092\u89e3\u6c7a\u3059\u308b2\u3064\u306e\u65b9\u6cd5<\/h2>\n<p>\u3053\u306e\u30a8\u30e9\u30fc\u306f\u3001React Hook\u306e\u4f7f\u3044\u65b9\u3092\u9593\u9055\u3048\u305f\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u3001\u3044\u304f\u3064\u304b\u306e\u65b9\u6cd5\u3067\u89e3\u6c7a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>1. \u30af\u30e9\u30b9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067React Hooks\u3092\u547c\u3073\u51fa\u3055\u306a\u3044<\/h3>\n<p>\u30d5\u30c3\u30af\u306f\u3001\u95a2\u6570<a href=\"https:\/\/kinqsta.com\/jp\/blog\/web-components\/\">\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<\/a>\u307e\u305f\u306f\u30ab\u30b9\u30bf\u30e0\u30d5\u30c3\u30af\u3067\u306e\u307f\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3068\u3044\u3046\u306e\u3082\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u72b6\u614b\u3068\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306b\u3001\u95a2\u6570\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u30b3\u30fc\u30eb\u30b9\u30bf\u30c3\u30af\u3092\u4f7f\u7528\u3059\u308b\u304b\u3089\u3067\u3059\u3002\u30af\u30e9\u30b9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u306f\u3053\u306e\u30b3\u30fc\u30eb\u30b9\u30bf\u30c3\u30af\u304c\u306a\u3044\u305f\u3081\u3001\u30af\u30e9\u30b9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u76f4\u63a5\u30d5\u30c3\u30af\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<pre><code class=\"language-jsx\">import React, { useState } from 'react';\nclass Counter extends React.Component {\n    state = { count: 0 };\n    render() {\n        const [count, setCount] = useState(0);\n        \/\/ \u30a8\u30e9\u30fc\uff1aReact Hooks must be called in a React function component or a custom React Hook function\n        return (\n            &lt;div&gt;\n                &lt;p&gt;You clicked {count} times&lt;\/p&gt;\n                &lt;button onClick={() =&gt; setCount(count + 1)}&gt;Click me&lt;\/button&gt;\n            &lt;\/div&gt;\n        );\n    }\n}\nexport default Counter;<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<figure style=\"width: 1600px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2023\/04\/react-hook-error.jpg\" alt=\"\u30a8\u30e9\u30fc\" width=\"1600\" height=\"125\"><figcaption class=\"wp-caption-text\">\u30a8\u30e9\u30fc<\/figcaption><\/figure>\n<p>\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u30af\u30e9\u30b9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067<code>state<\/code>\u3068<code>setState<\/code>\u3092\u4f7f\u3046\u304b\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u95a2\u6570\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u5909\u63db\u3059\u308b\u304b\u3001Higher-Order Component (HOC) \u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4>A. \u30af\u30e9\u30b9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u95a2\u6570\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u5909\u63db\u3059\u308b<\/h4>\n<p>Hooks\u304c\u6a5f\u80fd\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u95a2\u6570\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001Hooks\u304c\u95a2\u6570\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001\u5148\u307b\u3069\u306e\u30af\u30e9\u30b9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u95a2\u6570\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u5909\u63db\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-jsx\">import { useState } from 'react';\n\nfunction MyComponent(props) {\n  const [count, setCount] = useState(0);\n  return (\n    &lt;div&gt;\n      &lt;p&gt;Count: {count}&lt;\/p&gt;\n      &lt;button onClick={() =&gt; setCount(count + 1)}&gt;Increment&lt;\/button&gt;\n    &lt;\/div&gt;\n  );\n}<\/code><\/pre>\n<h4>B. \u9ad8\u968e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\uff08HOC\uff09\u3092\u4f7f\u7528\u3059\u308b<\/h4>\n<p>\u30af\u30e9\u30b9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067Hooks\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u306e1\u3064\u306b\u3001Higher-Order Component\uff08HOC\uff09\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>HOC\u306f\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u53d7\u3051\u53d6\u308a\u3001\u8ffd\u52a0\u306eprops\u307e\u305f\u306f\u6a5f\u80fd\u3092\u6301\u3064\u65b0\u3057\u3044\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u8fd4\u3059\u95a2\u6570\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001Hooks\u304c\u6a5f\u80fd\u3059\u308b\u3088\u3046\u306bHOC\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-jsx\">import React, { useState } from 'react';\n\nfunction withHooks(WrappedComponent) {\n  return function(props) {\n    const [count, setCount] = useState(0);\n    return (\n      &lt; WrappedComponent count={count} setCount={setCount} {...props} \/&gt;\n    );\n  };\n}\n\nclass MyComponent extends React.Component {\n  render() {\n    const { count, setCount } = this.props;\n    return (\n      &lt; div&gt;\n        &lt; p&gt;Count: {count}&lt; \/p&gt;\n        &lt; button onClick={() =&gt; setCount(count + 1)}&gt;Increment&lt; \/button&gt;\n      &lt; \/div&gt;\n    );\n  }\n}\n\nexport default withHooks(MyComponent);<\/code><\/pre>\n<h4>C. \u30af\u30e9\u30b9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067state\u3092\u4f7f\u3046<\/h4>\n<p>\u6700\u5f8c\u306b\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u69cb\u6587\u3092\u5909\u66f4\u3057\u305f\u304f\u306a\u3044\u3068\u3057\u307e\u3059\u3002useState Hook\u306e\u4ee3\u308f\u308a\u306b\u3001<code>state<\/code>\u3001<code>setState<\/code>\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-jsx\">import React from 'react';\n\nclass MyComponent extends React.Component {\n  constructor(props) {\n    super(props);\n    this.state = { count: 0 };\n  }\n\n  handleIncrement = () =&gt; {\n    this.setState({ count: this.state.count + 1 });\n  }\n\n  render() {\n    return (\n      &lt;div&gt;\n        &lt;p&gt;Count: {this.state.count}&lt;\/p&gt;\n        &lt;button onClick={this.handleIncrement}&gt;Increment&lt;\/button&gt;\n      &lt;\/div&gt;\n    );\n  }\n}\n\nexport default MyComponent;<\/code><\/pre>\n<h3>2. \u30cd\u30b9\u30c8\u3055\u308c\u305f\u95a2\u6570\u5185\u3067React Hooks\u3092\u547c\u3073\u51fa\u3055\u306a\u3044\u3088\u3046\u306b\u3059\u308b<\/h3>\n<p>React Hooks\u306e\u660e\u78ba\u306a\u30eb\u30fc\u30eb\u3068\u3057\u3066\u3001\u3059\u3079\u3066\u306eHooks\u306f\u95a2\u6570\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u307e\u305f\u306f\u30ab\u30b9\u30bf\u30e0\u30d5\u30c3\u30af\u95a2\u6570\u306e\u30c8\u30c3\u30d7\u30ec\u30d9\u30eb\u3067\u547c\u3073\u51fa\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30cd\u30b9\u30c8\u3057\u305f\u95a2\u6570\u306e\u4e2d\u3067Hook\u3092\u547c\u3073\u51fa\u3059\u3068\u3001\u3053\u306e\u30eb\u30fc\u30eb\u306b\u53cd\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u3067\u306f\u3001<code>useState<\/code>Hook\u304c<code>handleClick<\/code>\u95a2\u6570\u306e\u4e2d\u3067\u547c\u3073\u51fa\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-jsx\">import React, { useState } from 'react';\nfunction MyComponent() {\n    let count = 0;\n    function handleClick() {\n        const [count, setCount] = useState(0);\n        setCount(count + 1);\n    }\n    return (\n        &lt;div&gt;\n            &lt;p&gt;Count: {count}&lt;\/p&gt;\n            &lt;button onClick={handleClick}&gt;Increment&lt;\/button&gt;\n        &lt;\/div&gt;\n    );\n}\n\nexport default MyComponent;<\/code><\/pre>\n<p>\u3053\u306e\u307e\u307e\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<figure style=\"width: 1600px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2023\/04\/react-hook-nested-function-error.jpg\" alt=\"\u30a8\u30e9\u30fc\u306e\u4f8b\" width=\"1600\" height=\"149\"><figcaption class=\"wp-caption-text\">\u30a8\u30e9\u30fc\u306e\u4f8b<\/figcaption><\/figure>\n<p>\u305d\u3053\u3067\u3001Hook\u3092\u95a2\u6570\u306e\u5916\u3001\u3064\u307e\u308a\u95a2\u6570\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u30c8\u30c3\u30d7\u30ec\u30d9\u30eb\u306b\u79fb\u52d5\u3059\u308b\u3053\u3068\u3067\u30a8\u30e9\u30fc\u306b\u5bfe\u51e6\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-jsx\">import React, { useState } from 'react';\n\nfunction MyComponent() {\n    const [count, setCount] = useState(0);\n\n    function handleClick() {\n        setCount(count + 1);\n    }\n\n    return (\n        &lt;div&gt;\n            &lt;p&gt;Count: {count}&lt;\/p&gt;\n            &lt;button onClick={handleClick}&gt;Increment&lt;\/button&gt;\n        &lt;\/div&gt;\n    );\n}\n\nexport default MyComponent;<\/code><\/pre>\n\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u300creact hooks must be called in a react function component or a custom react hook function\u300d\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u3068\u305d\u306e\u5bfe\u51e6\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>React Hooks\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u306f\u3001\u3053\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u306a\u3044\u3088\u3046\u306b\u3001\u30eb\u30fc\u30eb\u306b\u5f93\u3044\u4f5c\u696d\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>React\u30a2\u30d7\u30ea\u306b\u3074\u3063\u305f\u308a\u306e\u30b5\u30fc\u30d0\u30fc\u3092\u304a\u63a2\u3057\u306a\u3089\u3001Kinsta\u306e\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u30fc\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<a href=\"https:\/\/sevalla.com\/application-hosting\/\">\u7121\u6599\u5229\u7528\u67a0\u3092\u3054\u5229\u7528<\/a>\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n<p><em>\u3053\u306e\u30a8\u30e9\u30fc\u3092\u7d4c\u9a13\u3057\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u3059\u304b\uff1f\u3069\u306e\u3088\u3046\u306b\u89e3\u6c7a\u3057\u307e\u3057\u305f\u304b\uff1f\u3053\u306e\u8a18\u4e8b\u306b\u306a\u3044\u4ed6\u306e\u65b9\u6cd5\u3092\u4f7f\u7528\u3057\u305f\u3067\u3057\u3087\u3046\u304b\u3002\u4ee5\u4e0b\u306e\u30b3\u30e1\u30f3\u30c8\u6b04\u3067\u304a\u805e\u304b\u305b\u304f\u3060\u3055\u3044\u3002<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>React Hooks\u306f\u3001\u72b6\u614b\u3084\u526f\u4f5c\u7528\u3092\u7ba1\u7406\u3059\u308b\u7c21\u6f54 &#8230;<\/p>\n","protected":false},"author":287,"featured_media":46250,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kinsta_gated_content":false,"_kinsta_gated_content_redirect":"","footnotes":""},"tags":[],"topic":[802,803],"class_list":["post-46249","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","topic-react","topic-react-errors"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>React\u306e\u300cReact Hooks must be called in a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\uff5cKinsta\u00ae<\/title>\n<meta name=\"description\" content=\"\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u300cReact Hooks Must Be Called In a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u300cReact Hooks must be called in a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u300cReact Hooks Must Be Called In a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/\" \/>\n<meta property=\"og:site_name\" content=\"Kinsta\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-02T06:21:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-01T19:46:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/06\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1460\" \/>\n\t<meta property=\"og:image:height\" content=\"730\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Joel Olawanle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u300cReact Hooks Must Be Called In a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/06\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@olawanle_joel\" \/>\n<meta name=\"twitter:site\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Joel Olawanle\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/\"},\"author\":{\"name\":\"Joel Olawanle\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/efa7de30245ca15be5ce1dcacff89c07\"},\"headline\":\"\u300cReact Hooks must be called in a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\",\"datePublished\":\"2023-06-02T06:21:52+00:00\",\"dateModified\":\"2025-10-01T19:46:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/\"},\"wordCount\":203,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#organization\"},\"image\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/06\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function.jpg\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/\",\"url\":\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/\",\"name\":\"React\u306e\u300cReact Hooks must be called in a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\uff5cKinsta\u00ae\",\"isPartOf\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/06\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function.jpg\",\"datePublished\":\"2023-06-02T06:21:52+00:00\",\"dateModified\":\"2025-10-01T19:46:35+00:00\",\"description\":\"\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u300cReact Hooks Must Be Called In a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#primaryimage\",\"url\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/06\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function.jpg\",\"contentUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/06\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function.jpg\",\"width\":1460,\"height\":730,\"caption\":\"React\u306e\u300cReact Hooks must be called in a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kinqsta.com\/jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"React\",\"item\":\"https:\/\/kinqsta.com\/jp\/topics\/react\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u300cReact Hooks must be called in a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#website\",\"url\":\"https:\/\/kinqsta.com\/jp\/\",\"name\":\"Kinsta\u00ae\",\"description\":\"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\",\"publisher\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kinqsta.com\/jp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#organization\",\"name\":\"Kinsta\",\"url\":\"https:\/\/kinqsta.com\/jp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"contentUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"width\":500,\"height\":500,\"caption\":\"Kinsta\"},\"image\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\",\"https:\/\/x.com\/Kinsta_JP\",\"https:\/\/www.instagram.com\/kinstahosting\/\",\"https:\/\/www.linkedin.com\/company\/kinsta\/\",\"https:\/\/www.pinterest.com\/kinstahosting\/\",\"https:\/\/www.youtube.com\/c\/Kinsta\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/efa7de30245ca15be5ce1dcacff89c07\",\"name\":\"Joel Olawanle\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/051bf577ce2c837846a1db9eef184758?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/051bf577ce2c837846a1db9eef184758?s=96&d=mm&r=g\",\"caption\":\"Joel Olawanle\"},\"description\":\"Joel is a Frontend developer working at Kinsta as a Technical Editor. He is a passionate teacher with love for open source and has written over 300 technical articles majorly around JavaScript and it's frameworks.\",\"sameAs\":[\"https:\/\/joelolawanle.com\/\",\"https:\/\/www.linkedin.com\/in\/olawanlejoel\/\",\"https:\/\/x.com\/olawanle_joel\",\"https:\/\/www.youtube.com\/@joelolawanle\"],\"gender\":\"male\",\"knowsAbout\":[\"JavaScript\",\"React\",\"Next.js\"],\"knowsLanguage\":[\"English\"],\"jobTitle\":\"Technical Editor\",\"worksFor\":\"Kinsta\",\"url\":\"https:\/\/kinqsta.com\/jp\/blog\/author\/joelolawanle\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"React\u306e\u300cReact Hooks must be called in a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\uff5cKinsta\u00ae","description":"\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u300cReact Hooks Must Be Called In a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/","og_locale":"ja_JP","og_type":"article","og_title":"\u300cReact Hooks must be called in a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5","og_description":"\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u300cReact Hooks Must Be Called In a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","og_url":"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/","og_site_name":"Kinsta\u00ae","article_publisher":"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","article_published_time":"2023-06-02T06:21:52+00:00","article_modified_time":"2025-10-01T19:46:35+00:00","og_image":[{"width":1460,"height":730,"url":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/06\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function.jpg","type":"image\/jpeg"}],"author":"Joel Olawanle","twitter_card":"summary_large_image","twitter_description":"\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u300cReact Hooks Must Be Called In a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","twitter_image":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/06\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function.jpg","twitter_creator":"@olawanle_joel","twitter_site":"@Kinsta_JP","twitter_misc":{"\u57f7\u7b46\u8005":"Joel Olawanle","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#article","isPartOf":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/"},"author":{"name":"Joel Olawanle","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/efa7de30245ca15be5ce1dcacff89c07"},"headline":"\u300cReact Hooks must be called in a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5","datePublished":"2023-06-02T06:21:52+00:00","dateModified":"2025-10-01T19:46:35+00:00","mainEntityOfPage":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/"},"wordCount":203,"commentCount":0,"publisher":{"@id":"https:\/\/kinqsta.com\/jp\/#organization"},"image":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#primaryimage"},"thumbnailUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/06\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function.jpg","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/","url":"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/","name":"React\u306e\u300cReact Hooks must be called in a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\uff5cKinsta\u00ae","isPartOf":{"@id":"https:\/\/kinqsta.com\/jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#primaryimage"},"image":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#primaryimage"},"thumbnailUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/06\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function.jpg","datePublished":"2023-06-02T06:21:52+00:00","dateModified":"2025-10-01T19:46:35+00:00","description":"\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u300cReact Hooks Must Be Called In a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#primaryimage","url":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/06\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function.jpg","contentUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/06\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function.jpg","width":1460,"height":730,"caption":"React\u306e\u300cReact Hooks must be called in a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5"},{"@type":"BreadcrumbList","@id":"https:\/\/kinqsta.com\/jp\/blog\/react-hooks-must-be-called-in-a-react-function-component-or-a-custom-react-hook-function\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kinqsta.com\/jp\/"},{"@type":"ListItem","position":2,"name":"React","item":"https:\/\/kinqsta.com\/jp\/topics\/react\/"},{"@type":"ListItem","position":3,"name":"\u300cReact Hooks must be called in a React Function Component or a Custom React Hook Function\u300d\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/kinqsta.com\/jp\/#website","url":"https:\/\/kinqsta.com\/jp\/","name":"Kinsta\u00ae","description":"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9","publisher":{"@id":"https:\/\/kinqsta.com\/jp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kinqsta.com\/jp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/kinqsta.com\/jp\/#organization","name":"Kinsta","url":"https:\/\/kinqsta.com\/jp\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/","url":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","contentUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","width":500,"height":500,"caption":"Kinsta"},"image":{"@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","https:\/\/x.com\/Kinsta_JP","https:\/\/www.instagram.com\/kinstahosting\/","https:\/\/www.linkedin.com\/company\/kinsta\/","https:\/\/www.pinterest.com\/kinstahosting\/","https:\/\/www.youtube.com\/c\/Kinsta"]},{"@type":"Person","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/efa7de30245ca15be5ce1dcacff89c07","name":"Joel Olawanle","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/051bf577ce2c837846a1db9eef184758?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/051bf577ce2c837846a1db9eef184758?s=96&d=mm&r=g","caption":"Joel Olawanle"},"description":"Joel is a Frontend developer working at Kinsta as a Technical Editor. He is a passionate teacher with love for open source and has written over 300 technical articles majorly around JavaScript and it's frameworks.","sameAs":["https:\/\/joelolawanle.com\/","https:\/\/www.linkedin.com\/in\/olawanlejoel\/","https:\/\/x.com\/olawanle_joel","https:\/\/www.youtube.com\/@joelolawanle"],"gender":"male","knowsAbout":["JavaScript","React","Next.js"],"knowsLanguage":["English"],"jobTitle":"Technical Editor","worksFor":"Kinsta","url":"https:\/\/kinqsta.com\/jp\/blog\/author\/joelolawanle\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts\/46249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/users\/287"}],"replies":[{"embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/comments?post=46249"}],"version-history":[{"count":14,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts\/46249\/revisions"}],"predecessor-version":[{"id":46758,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts\/46249\/revisions\/46758"}],"alternate":[{"embeddable":true,"hreflang":"en","title":"English","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/46249\/translations\/en"},{"embeddable":true,"hreflang":"it","title":"Italian","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/46249\/translations\/it"},{"embeddable":true,"hreflang":"pt","title":"Portuguese","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/46249\/translations\/pt"},{"embeddable":true,"hreflang":"fr","title":"French","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/46249\/translations\/fr"},{"embeddable":true,"hreflang":"de","title":"German","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/46249\/translations\/de"},{"embeddable":true,"hreflang":"ja","title":"Japanese","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/46249\/translations\/jp"},{"embeddable":true,"hreflang":"nl","title":"Dutch","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/46249\/translations\/nl"},{"embeddable":true,"hreflang":"es","title":"Spanish","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/46249\/translations\/es"},{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/46249\/tree"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/media\/46250"}],"wp:attachment":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/media?parent=46249"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/tags?post=46249"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/topic?post=46249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}