{"id":38984,"date":"2024-11-02T02:36:06","date_gmt":"2024-11-02T02:36:06","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38984"},"modified":"2024-11-26T06:42:43","modified_gmt":"2024-11-26T06:42:43","slug":"react%ec%9d%98-%ec%84%b1%eb%8a%a5-%ec%b5%9c%ec%a0%81%ed%99%94-usecallback%ea%b3%bc-%ec%bb%b4%ed%8f%ac%eb%84%8c%ed%8a%b8-%ec%b5%9c%ec%a0%81%ed%99%94-%ea%b8%b0%eb%b2%95","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38984\/","title":{"rendered":"React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654, useCallback\uacfc \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95"},"content":{"rendered":"<article>\n<header>\n<p>\uc774 \uae00\uc5d0\uc11c\ub294 React \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ucd5c\uc801\ud654\ud558\uc5ec \uc131\ub2a5\uc744 \uac1c\uc120\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub2e4\ub8f9\ub2c8\ub2e4. \ud2b9\ud788, React\uc758 \uc8fc\uc694 \ud6c5\uc778 <code>useCallback<\/code>\uc744 \uc911\uc2ec\uc73c\ub85c \uc124\uba85\ud558\uace0, \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\uc220\uc744 \uc18c\uac1c\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<\/header>\n<section>\n<h2>1. React\uc758 \uc131\ub2a5 \ubb38\uc81c \uc774\ud574\ud558\uae30<\/h2>\n<p>React\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uae30 \uc704\ud574 \uc124\uacc4\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \ub370\uc774\ud130\uc758 \uc591\uc774 \ub9ce\uc544\uc9c0\uac70\ub098 \ubcf5\uc7a1\ud55c \ucef4\ud3ec\ub10c\ud2b8 \uad6c\uc870\ub97c \uac00\uc9c0\uace0 \uc788\uc744 \ub54c \uc131\ub2a5 \ubb38\uc81c\uac00 \ubc1c\uc0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ubb38\uc81c\ub294 \uc77c\ubc18\uc801\uc73c\ub85c \ub80c\ub354\ub9c1 \uc131\ub2a5\uacfc \uad00\ub828\uc774 \uc788\uc73c\uba70, \ubd88\ud544\uc694\ud55c \uc7ac\ub80c\ub354\ub9c1\uc774 \uc8fc\uc694 \uc6d0\uc778 \uc911 \ud558\ub098\uc785\ub2c8\ub2e4.<\/p>\n<p>React\ub294 \uac00\uc0c1 DOM\uc744 \uc0ac\uc6a9\ud558\uc5ec UI \uc5c5\ub370\uc774\ud2b8\uc758 \uc131\ub2a5\uc744 \ud5a5\uc0c1\uc2dc\ud0b5\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uaddc\ubaa8\uac00 \ucee4\uc9c0\uace0 \ucef4\ud3ec\ub10c\ud2b8\uac00 \ubcf5\uc7a1\ud574\uc9d0\uc5d0 \ub530\ub77c \ucd5c\uc801\ud654\uac00 \ud544\uc694\ud558\uac8c \ub429\ub2c8\ub2e4. \uc8fc\ub41c \uc131\ub2a5 \uc800\ud558\uc758 \uc6d0\uc778\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\ubd88\ud544\uc694\ud55c \ub80c\ub354\ub9c1<\/li>\n<li>\ubd80\ubaa8 \ucef4\ud3ec\ub10c\ud2b8\uc758 \uc0c1\ud0dc \ubcc0\uacbd\uc73c\ub85c \uc778\ud55c \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\uc758 \uc7ac\ub80c\ub354\ub9c1<\/li>\n<li>\ubcf5\uc7a1\ud55c \ucef4\ud3ec\ub10c\ud2b8 \uad6c\uc870<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>2. useCallback\uc758 \uc774\ud574<\/h2>\n<p><code>useCallback<\/code>\uc740 React\uc758 \ud6c5\uc73c\ub85c, \uba54\ubaa8\uc774\uc81c\uc774\uc158(memoization) \uae30\ubc95\uc744 \ud1b5\ud574 \ud568\uc218\uac00 \ub2e4\uc2dc \uc0dd\uc131\ub418\ub294 \uac83\uc744 \ubc29\uc9c0\ud558\uc5ec \uc131\ub2a5\uc744 \ucd5c\uc801\ud654\ud569\ub2c8\ub2e4. \uae30\ubcf8\uc801\uc73c\ub85c, React\ub294 \ucef4\ud3ec\ub10c\ud2b8\uac00 \ub80c\ub354\ub9c1\ub420 \ub54c\ub9c8\ub2e4 \ud568\uc218\uac00 \uc0c8\ub85c \uc0dd\uc131\ub418\ub294\ub370, \uc774\ub85c \uc778\ud574 \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\uac00 \ubd88\ud544\uc694\ud558\uac8c \uc7ac\ub80c\ub354\ub9c1\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <code>useCallback<\/code>\uc744 \uc0ac\uc6a9\ud558\uba74 \ud2b9\uc815 \uc758\uc874\uc131 \ubc30\uc5f4\uc758 \uac12\uc774 \ubcc0\uacbd\ub418\uc9c0 \uc54a\ub294 \ud55c, \uc774\uc804\uc5d0 \uc0dd\uc131\ub41c \ud568\uc218\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.<\/p>\n<p>\uc544\ub798\ub294 <code>useCallback<\/code>\uc758 \uae30\ubcf8 \uc0ac\uc6a9 \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>import React, { useState, useCallback } from 'react';\n\nconst Counter = () =&gt; {\n    const [count, setCount] = useState(0);\n    \n    const increment = useCallback(() =&gt; {\n        setCount(c =&gt; c + 1);\n    }, []);\n    \n    return (\n        <div>\n            <p>Count: {count}<\/p>\n            <button onclick=\"{increment}\">Increment<\/button>\n        <\/div>\n    );\n};\n\nexport default Counter;<\/code><\/pre>\n<p>\uc704\uc758 \uc608\uc81c\uc5d0\uc11c <code>increment<\/code> \ud568\uc218\ub294 <code>useCallback<\/code>\uc744 \uc0ac\uc6a9\ud574 \uba54\ubaa8\uc774\uc81c\uc774\uc158\ub418\uc5b4, <code>count<\/code> \uc0c1\ud0dc\uac00 \ubcc0\uacbd\ub418\ub354\ub77c\ub3c4 \uc0c8\ub85c \uc0dd\uc131\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \uc774\ub807\uac8c \ud558\uba74 \uc131\ub2a5\uc774 \ud5a5\uc0c1\ub429\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>3. useCallback\uc758 \uc7a5\ub2e8\uc810<\/h2>\n<h3>\uc7a5\uc810<\/h3>\n<ul>\n<li>\ubd88\ud544\uc694\ud55c \ub9ac\ub80c\ub354\ub9c1\uc744 \ubc29\uc9c0\ud558\uc5ec \uc131\ub2a5\uc744 \uac1c\uc120\ud569\ub2c8\ub2e4.<\/li>\n<li>\ud568\uc218\ub97c \uba54\ubaa8\uc774\uc81c\uc774\uc158 \ud558\uc5ec, \ucef4\ud3ec\ub10c\ud2b8\uac00 \uc7ac\ub80c\ub354\ub9c1\ub420 \ub54c \ub3d9\uc77c\ud55c \ud568\uc218 \ucc38\uc870\ub97c \uc720\uc9c0\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>\ub2e8\uc810<\/h3>\n<ul>\n<li>\uc0ac\uc6a9\ud558\ub294 \ucf54\ub4dc\uac00 \ubcf5\uc7a1\ud574\uc9c8 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uc758\uc874\uc131 \ubc30\uc5f4\uc744 \uc798\ubabb \uc124\uc815\ud558\uba74 \uc758\ub3c4\uce58 \uc54a\uc740 \ub3d9\uc791\uc744 \ucd08\ub798\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>4. \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95<\/h2>\n<p>\ucef4\ud3ec\ub10c\ud2b8\ub97c \ucd5c\uc801\ud654\ud558\ub294 \ubc29\ubc95\uc5d0\ub294 \uc5ec\ub7ec \uac00\uc9c0\uac00 \uc788\uc2b5\ub2c8\ub2e4. \uc5ec\uae30\uc5d0\uc11c\ub294 \uc8fc\uc694 \uae30\ubc95\uc744 \uc18c\uac1c\ud569\ub2c8\ub2e4.<\/p>\n<h3>4.1 PureComponent \uc0ac\uc6a9\ud558\uae30<\/h3>\n<p><code>React.PureComponent<\/code>\ub294 \ucef4\ud3ec\ub10c\ud2b8\uac00 \ubc1b\ub294 props\uc640 state\uac00 \ubcc0\uacbd\ub418\uc9c0 \uc54a\ub294 \ud55c, \ub80c\ub354\ub9c1\uc744 \ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ubd88\ud544\uc694\ud55c \ub80c\ub354\ub9c1\uc744 \ubc29\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>import React from 'react';\n\nclass MyComponent extends React.PureComponent {\n    render() {\n        return &lt;div&gt;Hello, World!&lt;\/div&gt;;\n    }\n};<\/code><\/pre>\n<h3>4.2 React.memo \uc0ac\uc6a9\ud558\uae30<\/h3>\n<p>\ud568\uc218\ud615 \ucef4\ud3ec\ub10c\ud2b8\uc5d0 <code>React.memo<\/code>\ub97c \uc0ac\uc6a9\ud558\uba74, props\uac00 \ubcc0\uacbd\ub418\uc9c0 \uc54a\ub294 \ud55c, \ub9ac\ub80c\ub354\ub9c1\uc744 \ubc29\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>import React from 'react';\n\nconst MyComponent = React.memo(({ value }) =&gt; {\n    return &lt;div&gt;{value}&lt;\/div&gt;;\n});<\/code><\/pre>\n<h3>4.3 useMemo\uc640 useCallback \ud568\uaed8 \uc0ac\uc6a9\ud558\uae30<\/h3>\n<p><code>useMemo<\/code>\ub294 \uacc4\uc0b0 \ube44\uc6a9\uc774 \ub192\uc740 \uac12\uc758 \uacb0\uacfc\ub97c \uba54\ubaa8\uc774\uc81c\uc774\uc158\ud558\uc5ec, \ucef4\ud3ec\ub10c\ud2b8\uc758 \uc131\ub2a5\uc744 \ub192\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>import React, { useState, useMemo, useCallback } from 'react';\n\nconst MyComponent = () =&gt; {\n    const [count, setCount] = useState(0);\n\n    const computedValue = useMemo(() =&gt; {\n        return expensiveComputation(count);\n    }, [count]);\n\n    const increment = useCallback(() =&gt; {\n        setCount(c =&gt; c + 1);\n    }, []);\n\n    return (\n        &lt;div&gt;\n            &lt;p&gt;Count: {count}&lt;\/p&gt;\n            &lt;p&gt;Computed Value: {computedValue}&lt;\/p&gt;\n            &lt;button onClick={increment}&gt;Increment&lt;\/button&gt;\n        &lt;\/div&gt;\n    );\n};\n\nconst expensiveComputation = (num) =&gt; {\n    \/\/ \ubcf5\uc7a1\ud55c \uacc4\uc0b0\n    return num * 10; \/\/ \uc608\uc2dc\n};<\/code><\/pre>\n<\/section>\n<section>\n<h2>5. \uacb0\ub860<\/h2>\n<p>React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654\ub294 \ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ub300\ub2e8\ud788 \uc911\uc694\ud569\ub2c8\ub2e4. <code>useCallback<\/code>\uacfc \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95\uc744 \ud65c\uc6a9\ud558\uba74, \ubd88\ud544\uc694\ud55c \ub80c\ub354\ub9c1\uc744 \ubc29\uc9c0\ud558\uace0 \uc131\ub2a5\uc744 \uac1c\uc120\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uae30\ubc95\ub4e4\uc744 \uc801\uc808\ud788 \uc0ac\uc6a9\ud558\uc5ec, \ubcf4\ub2e4 \ube60\ub974\uace0 \ud6a8\uc728\uc801\uc778 React \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud558\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<\/section>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>\uc774 \uae00\uc5d0\uc11c\ub294 React \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ucd5c\uc801\ud654\ud558\uc5ec \uc131\ub2a5\uc744 \uac1c\uc120\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub2e4\ub8f9\ub2c8\ub2e4. \ud2b9\ud788, React\uc758 \uc8fc\uc694 \ud6c5\uc778 useCallback\uc744 \uc911\uc2ec\uc73c\ub85c \uc124\uba85\ud558\uace0, \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\uc220\uc744 \uc18c\uac1c\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. React\uc758 \uc131\ub2a5 \ubb38\uc81c \uc774\ud574\ud558\uae30 React\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uae30 \uc704\ud574 \uc124\uacc4\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \ub370\uc774\ud130\uc758 \uc591\uc774 \ub9ce\uc544\uc9c0\uac70\ub098 \ubcf5\uc7a1\ud55c \ucef4\ud3ec\ub10c\ud2b8 \uad6c\uc870\ub97c \uac00\uc9c0\uace0 \uc788\uc744 \ub54c \uc131\ub2a5 \ubb38\uc81c\uac00 \ubc1c\uc0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ubb38\uc81c\ub294 \uc77c\ubc18\uc801\uc73c\ub85c \ub80c\ub354\ub9c1 \uc131\ub2a5\uacfc &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38984\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654, useCallback\uacfc \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[191],"tags":[],"class_list":["post-38984","post","type-post","status-publish","format-standard","hentry","category-react"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654, useCallback\uacfc \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/38984\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654, useCallback\uacfc \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc774 \uae00\uc5d0\uc11c\ub294 React \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ucd5c\uc801\ud654\ud558\uc5ec \uc131\ub2a5\uc744 \uac1c\uc120\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub2e4\ub8f9\ub2c8\ub2e4. \ud2b9\ud788, React\uc758 \uc8fc\uc694 \ud6c5\uc778 useCallback\uc744 \uc911\uc2ec\uc73c\ub85c \uc124\uba85\ud558\uace0, \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\uc220\uc744 \uc18c\uac1c\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. React\uc758 \uc131\ub2a5 \ubb38\uc81c \uc774\ud574\ud558\uae30 React\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uae30 \uc704\ud574 \uc124\uacc4\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \ub370\uc774\ud130\uc758 \uc591\uc774 \ub9ce\uc544\uc9c0\uac70\ub098 \ubcf5\uc7a1\ud55c \ucef4\ud3ec\ub10c\ud2b8 \uad6c\uc870\ub97c \uac00\uc9c0\uace0 \uc788\uc744 \ub54c \uc131\ub2a5 \ubb38\uc81c\uac00 \ubc1c\uc0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ubb38\uc81c\ub294 \uc77c\ubc18\uc801\uc73c\ub85c \ub80c\ub354\ub9c1 \uc131\ub2a5\uacfc &hellip; \ub354 \ubcf4\uae30 &quot;React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654, useCallback\uacfc \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38984\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-02T02:36:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:42:43+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/38984\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38984\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654, useCallback\uacfc \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95\",\"datePublished\":\"2024-11-02T02:36:06+00:00\",\"dateModified\":\"2024-11-26T06:42:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38984\/\"},\"wordCount\":24,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"React\ud504\ub860\ud2b8\uc5d4\ub4dc\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38984\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38984\/\",\"name\":\"React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654, useCallback\uacfc \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-02T02:36:06+00:00\",\"dateModified\":\"2024-11-26T06:42:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38984\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38984\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38984\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654, useCallback\uacfc \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654, useCallback\uacfc \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","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:\/\/atmokpo.com\/w\/38984\/","og_locale":"ko_KR","og_type":"article","og_title":"React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654, useCallback\uacfc \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc774 \uae00\uc5d0\uc11c\ub294 React \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ucd5c\uc801\ud654\ud558\uc5ec \uc131\ub2a5\uc744 \uac1c\uc120\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub2e4\ub8f9\ub2c8\ub2e4. \ud2b9\ud788, React\uc758 \uc8fc\uc694 \ud6c5\uc778 useCallback\uc744 \uc911\uc2ec\uc73c\ub85c \uc124\uba85\ud558\uace0, \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\uc220\uc744 \uc18c\uac1c\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. React\uc758 \uc131\ub2a5 \ubb38\uc81c \uc774\ud574\ud558\uae30 React\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uae30 \uc704\ud574 \uc124\uacc4\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \ub370\uc774\ud130\uc758 \uc591\uc774 \ub9ce\uc544\uc9c0\uac70\ub098 \ubcf5\uc7a1\ud55c \ucef4\ud3ec\ub10c\ud2b8 \uad6c\uc870\ub97c \uac00\uc9c0\uace0 \uc788\uc744 \ub54c \uc131\ub2a5 \ubb38\uc81c\uac00 \ubc1c\uc0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ubb38\uc81c\ub294 \uc77c\ubc18\uc801\uc73c\ub85c \ub80c\ub354\ub9c1 \uc131\ub2a5\uacfc &hellip; \ub354 \ubcf4\uae30 \"React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654, useCallback\uacfc \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95\"","og_url":"https:\/\/atmokpo.com\/w\/38984\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-02T02:36:06+00:00","article_modified_time":"2024-11-26T06:42:43+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/38984\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38984\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654, useCallback\uacfc \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95","datePublished":"2024-11-02T02:36:06+00:00","dateModified":"2024-11-26T06:42:43+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38984\/"},"wordCount":24,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["React\ud504\ub860\ud2b8\uc5d4\ub4dc"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38984\/","url":"https:\/\/atmokpo.com\/w\/38984\/","name":"React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654, useCallback\uacfc \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-02T02:36:06+00:00","dateModified":"2024-11-26T06:42:43+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38984\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38984\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38984\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"React\uc758 \uc131\ub2a5 \ucd5c\uc801\ud654, useCallback\uacfc \ucef4\ud3ec\ub10c\ud2b8 \ucd5c\uc801\ud654 \uae30\ubc95"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=38984"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38984\/revisions"}],"predecessor-version":[{"id":38985,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38984\/revisions\/38985"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}