{"id":25944,"date":"2024-10-27T06:48:41","date_gmt":"2024-10-27T06:48:41","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=25944"},"modified":"2024-11-26T07:49:28","modified_gmt":"2024-11-26T07:49:28","slug":"%eb%a6%ac%ec%95%a1%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ec%8a%a4%ec%bd%94%ed%94%84","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/25944\/","title":{"rendered":"\ub9ac\uc561\ud2b8 \uac15\uc88c: \uc2a4\ucf54\ud504"},"content":{"rendered":"<p><body><\/p>\n<div class=\"container\">\n<p>\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8(React)\uc5d0\uc11c\uc758 \uc2a4\ucf54\ud504(Scope)\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uae4a\uac8c \ub2e4\ub904\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \ub9ac\uc561\ud2b8\ub294 \ud604\ub300 \uc6f9 \uac1c\ubc1c\uc5d0\uc11c \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc911 \ud558\ub098\ub85c, \ucef4\ud3ec\ub10c\ud2b8 \uae30\ubc18\uc758 \uc544\ud0a4\ud14d\ucc98\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uac8c \ub3d5\uc2b5\ub2c8\ub2e4. \uc2a4\ucf54\ud504\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc758 \uc911\uc694\ud55c \uac1c\ub150 \uc911 \ud558\ub098\ub85c, \ubcc0\uc218\uc758 \uc720\ud6a8 \ubc94\uc704\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4. \ub530\ub77c\uc11c \ub9ac\uc561\ud2b8 \ucef4\ud3ec\ub10c\ud2b8 \ub0b4\uc5d0\uc11c \uc2a4\ucf54\ud504\ub97c \uc774\ud574\ud558\ub294 \uac83\uc740 \ud544\uc218\uc801\uc785\ub2c8\ub2e4.<\/p>\n<h2>1. \uc2a4\ucf54\ud504(Scope)\ub780 \ubb34\uc5c7\uc778\uac00?<\/h2>\n<p>\uc2a4\ucf54\ud504\ub780 \ud504\ub85c\uadf8\ub7a8 \ub0b4\uc5d0\uc11c \ubcc0\uc218, \ud568\uc218 \ubc0f \uac1d\uccb4\uac00 \uc720\ud6a8\ud55c \ubc94\uc704\ub97c \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc5d0\uc11c\ub294 \uc8fc\ub85c \ub450 \uac00\uc9c0 \uc885\ub958\uc758 \uc2a4\ucf54\ud504\uac00 \uc874\uc7ac\ud569\ub2c8\ub2e4: \uc804\uc5ed \uc2a4\ucf54\ud504(Global Scope)\uc640 \uc9c0\uc5ed \uc2a4\ucf54\ud504(Local Scope).<\/p>\n<ul>\n<li><strong>\uc804\uc5ed \uc2a4\ucf54\ud504<\/strong>\ub294 \ucf54\ub4dc\uc758 \uc5b4\ub5a4 \ubd80\ubd84\uc5d0\uc11c\ub4e0 \uc811\uadfc \uac00\ub2a5\ud55c \ubcc0\uc218\uc758 \ubc94\uc704\uc785\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc2a4\ud06c\ub9bd\ud2b8\uc758 \ucd5c\uc0c1\uc704 \ub808\ubca8\uc5d0\uc11c \uc815\uc758\ub41c \ubcc0\uc218\ub294 \uc804\uc5ed \uc2a4\ucf54\ud504\uc5d0 \uc18d\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc9c0\uc5ed \uc2a4\ucf54\ud504<\/strong>\ub294 \ud2b9\uc815 \ud568\uc218 \ub610\ub294 \ube14\ub85d \ub0b4\uc5d0\uc11c\ub9cc \uc811\uadfc \uac00\ub2a5\ud55c \ubcc0\uc218\uc758 \ubc94\uc704\uc785\ub2c8\ub2e4. \uc774\ub7f0 \ubcc0\uc218\ub4e4\uc740 \ud574\ub2f9 \ud568\uc218 \ub610\ub294 \ube14\ub85d\uc774 \uc2e4\ud589\ub420 \ub54c\ub9cc \uc874\uc7ac\ud558\uac8c \ub429\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>2. \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \uc2a4\ucf54\ud504\uc758 \uc720\ud615<\/h2>\n<h3>2.1 \uc804\uc5ed \uc2a4\ucf54\ud504<\/h3>\n<p>\uc804\uc5ed \uc2a4\ucf54\ud504\ub294 \uc2a4\ud06c\ub9bd\ud2b8 \ub0b4\uc5d0\uc11c \uc5b4\ub514\uc11c\ub4e0 \uc811\uadfc\ud560 \uc218 \uc788\ub294 \ubcc0\uc218\uc785\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4:<\/p>\n<pre><code>var globalVar = \"\uc774\uac83\uc740 \uc804\uc5ed \ubcc0\uc218\uc785\ub2c8\ub2e4\";\n\nfunction showGlobalVar() {\n    console.log(globalVar);\n}\nshowGlobalVar(); \/\/ \uc774\uac83\uc740 \uc804\uc5ed \ubcc0\uc218\uc785\ub2c8\ub2e4<\/code><\/pre>\n<h3>2.2 \ud568\uc218 \uc2a4\ucf54\ud504<\/h3>\n<p>\ud568\uc218 \uc2a4\ucf54\ud504\ub294 \ud568\uc218 \ub0b4\uc5d0\uc11c \uc120\uc5b8\ub41c \ubcc0\uc218\ub4e4\uc774 \ud574\ub2f9 \ud568\uc218 \ub0b4\uc5d0\uc11c\ub9cc \uc720\ud6a8\ud558\ub2e4\ub294 \uac83\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4:<\/p>\n<pre><code>function myFunction() {\n    var localVar = \"\uc774\uac83\uc740 \uc9c0\uc5ed \ubcc0\uc218\uc785\ub2c8\ub2e4\";\n    console.log(localVar);\n}\n\nmyFunction(); \/\/ \uc774\uac83\uc740 \uc9c0\uc5ed \ubcc0\uc218\uc785\ub2c8\ub2e4\nconsole.log(localVar); \/\/ Uncaught ReferenceError: localVar is not defined<\/code><\/pre>\n<h3>2.3 \ube14\ub85d \uc2a4\ucf54\ud504<\/h3>\n<p>ES6(ECMAScript 2015)\uc5d0\uc11c \ub3c4\uc785\ub41c \ube14\ub85d \uc2a4\ucf54\ud504\ub294 { } \ube14\ub85d \ub0b4\uc5d0\uc11c\ub9cc \uc720\ud6a8\ud55c \ubcc0\uc218\ub97c \uc815\uc758\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4. <code>let<\/code> \ub610\ub294 <code>const<\/code>\ub97c \uc0ac\uc6a9\ud558\uc5ec \ubcc0\uc218\ub97c \uc120\uc5b8\ud558\uba74 \ube14\ub85d \uc2a4\ucf54\ud504\uac00 \uc0dd\uc131\ub429\ub2c8\ub2e4:<\/p>\n<pre><code>if (true) {\n    let blockVar = \"\uc774\uac83\uc740 \ube14\ub85d \ubcc0\uc218\uc785\ub2c8\ub2e4\";\n    console.log(blockVar); \/\/ \uc774\uac83\uc740 \ube14\ub85d \ubcc0\uc218\uc785\ub2c8\ub2e4\n}\n\nconsole.log(blockVar); \/\/ Uncaught ReferenceError: blockVar is not defined<\/code><\/pre>\n<h2>3. \ub9ac\uc561\ud2b8\uc5d0\uc11c\uc758 \uc2a4\ucf54\ud504 \uad00\ub9ac<\/h2>\n<p>\ub9ac\uc561\ud2b8\uc5d0\uc11c \ucef4\ud3ec\ub10c\ud2b8\ub97c \uc791\uc131\ud560 \ub54c, \uc2a4\ucf54\ud504\ub294 \ud2b9\ud788 \uc911\uc694\ud569\ub2c8\ub2e4. \uac01 \ucef4\ud3ec\ub10c\ud2b8\ub294 \uc790\uccb4\uc801\uc73c\ub85c \uc0c1\ud0dc\ub97c \uad00\ub9ac\ud558\uace0, props\ub97c \ud1b5\ud574 \ubd80\ubaa8 \ucef4\ud3ec\ub10c\ud2b8\uc758 \ub370\uc774\ud130\ub97c \ubc1b\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub9ac\uc561\ud2b8\uc758 \uc0c1\ud0dc(state)\uc640 props\ub294 \uc2a4\ucf54\ud504\uc758 \uac1c\ub150\uc744 \uba85\ud655\ud788 \uc774\ud574\ud558\ub294 \uac83\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.<\/p>\n<h3>3.1 \uc0c1\ud0dc(state)\uc640 \uc2a4\ucf54\ud504<\/h3>\n<p>\ub9ac\uc561\ud2b8 \ucef4\ud3ec\ub10c\ud2b8\uc758 \uc0c1\ud0dc\ub294 \ucef4\ud3ec\ub10c\ud2b8\uac00 \ub80c\ub354\ub9c1\ud560 \ub54c\uc758 \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud558\uba70, \uc8fc\ub85c <code>useState<\/code> \ud6c5\uc744 \uc774\uc6a9\ud558\uc5ec \uad00\ub9ac\ud569\ub2c8\ub2e4. \uc0c1\ud0dc\ub294 \ucef4\ud3ec\ub10c\ud2b8 \ub0b4\uc5d0\uc11c\ub9cc \uc811\uadfc\ud560 \uc218 \uc788\ub294 \uc9c0\uc5ed \ubcc0\uc218\uc785\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4:<\/p>\n<pre><code>import React, { useState } from 'react';\n\nfunction MyComponent() {\n    const [count, setCount] = useState(0);\n\n    return (\n        <div>\n            <p>\ud604\uc7ac \uce74\uc6b4\ud2b8: {count}<\/p>\n            <button ==\"\" onclick=\"{()\"> setCount(count + 1)}&gt;\uc99d\uac00<\/button>\n        <\/div>\n    );\n}<\/code><\/pre>\n<h3>3.2 Props\uc640 \uc2a4\ucf54\ud504<\/h3>\n<p>Props\ub294 \ubd80\ubaa8 \ucef4\ud3ec\ub10c\ud2b8\uc5d0\uc11c \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\ub85c \ub370\uc774\ud130\ub97c \uc804\ub2ec\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4. props\ub294 \uc790\uc2dd \ucef4\ud3ec\ub10c\ud2b8\uc5d0 \ub300\ud55c \uc804\uc5ed \ud615\ud0dc\ub97c \uac00\uc9c0\uba70, \ubd80\ubaa8 \ucef4\ud3ec\ub10c\ud2b8\uc5d0\uc11c \uc815\uc758\ub41c \uac12\uc744 \ucc38\uc870\ud569\ub2c8\ub2e4. \ucef4\ud3ec\ub10c\ud2b8 \ub0b4\uc5d0\uc11c props\ub97c \uc0ac\uc6a9\ud558\uba74 \ub2e4\uc74c\uacfc \uac19\uc740 \ubc29\uc2dd\uc73c\ub85c \uc811\uadfc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>function ChildComponent(props) {\n    return <h1>{props.title}<\/h1>;\n}\n\nfunction ParentComponent() {\n    return <childcomponent title=\"\uc548\ub155\ud558\uc138\uc694!\"><\/childcomponent>;\n}<\/code><\/pre>\n<h2>4. \ud074\ub85c\uc800(Closure)\uc640 \uc2a4\ucf54\ud504<\/h2>\n<p>\ud074\ub85c\uc800\ub294 \ud568\uc218\uc640 \uadf8 \ud568\uc218\uac00 \uc120\uc5b8\ub41c \ub809\uc2dc\uceec \ud658\uacbd\uc758 \uc870\ud569\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc5d0\uc11c \ud568\uc218\ub294 \uadf8 \uc790\uc2e0\uc774 \uc0dd\uc131\ub41c \uc2a4\ucf54\ud504\ub97c \uae30\uc5b5\ud569\ub2c8\ub2e4. \ub530\ub77c\uc11c \ud074\ub85c\uc800\ub294 \uc2a4\ucf54\ud504\ub97c \ud65c\uc6a9\ud558\uc5ec \uac15\ub825\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>function makeCounter() {\n    let count = 0;\n    return function() {\n        count += 1;\n        return count;\n    };\n}\n\nconst counter = makeCounter();\nconsole.log(counter()); \/\/ 1\nconsole.log(counter()); \/\/ 2<\/code><\/pre>\n<h2>5. \uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\uc5d0\uc11c\uc758 \uc2a4\ucf54\ud504 \uac1c\ub150\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc2a4\ucf54\ud504\ub294 \ubcc0\uc218\ub97c \uc815\uc758\ud558\uace0 \uc811\uadfc\ud560 \ub54c \ub9e4\uc6b0 \uc911\uc694\ud55c \uc694\uc18c\ub85c, \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc758 \uae30\ucd08\uc801\uc778 \uc774\ud574 \uc5c6\uc774\ub294 \ub9ac\uc561\ud2b8\uc5d0\uc11c\uc758 \ucef4\ud3ec\ub10c\ud2b8 \uc791\uc131\uc774 \uc5b4\ub824\uc6b8 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc55e\uc73c\ub85c\uc758 \uac15\uc88c\uc5d0\uc11c\ub294 \ub354\uc6b1 \uc2ec\ud654\ub41c \uc8fc\uc81c\ub97c \ub2e4\ub8f0 \uc608\uc815\uc774\ub2c8 \uae30\ub300\ud574 \uc8fc\uc138\uc694!<\/p>\n<\/div>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8(React)\uc5d0\uc11c\uc758 \uc2a4\ucf54\ud504(Scope)\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uae4a\uac8c \ub2e4\ub904\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \ub9ac\uc561\ud2b8\ub294 \ud604\ub300 \uc6f9 \uac1c\ubc1c\uc5d0\uc11c \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc911 \ud558\ub098\ub85c, \ucef4\ud3ec\ub10c\ud2b8 \uae30\ubc18\uc758 \uc544\ud0a4\ud14d\ucc98\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uac8c \ub3d5\uc2b5\ub2c8\ub2e4. \uc2a4\ucf54\ud504\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc758 \uc911\uc694\ud55c \uac1c\ub150 \uc911 \ud558\ub098\ub85c, \ubcc0\uc218\uc758 \uc720\ud6a8 \ubc94\uc704\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4. \ub530\ub77c\uc11c \ub9ac\uc561\ud2b8 \ucef4\ud3ec\ub10c\ud2b8 \ub0b4\uc5d0\uc11c \uc2a4\ucf54\ud504\ub97c \uc774\ud574\ud558\ub294 \uac83\uc740 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. 1. \uc2a4\ucf54\ud504(Scope)\ub780 \ubb34\uc5c7\uc778\uac00? \uc2a4\ucf54\ud504\ub780 \ud504\ub85c\uadf8\ub7a8 \ub0b4\uc5d0\uc11c \ubcc0\uc218, \ud568\uc218 \ubc0f &hellip; <a href=\"https:\/\/atmokpo.com\/w\/25944\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ub9ac\uc561\ud2b8 \uac15\uc88c: \uc2a4\ucf54\ud504&#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":[20],"tags":[],"class_list":["post-25944","post","type-post","status-publish","format-standard","hentry","category-20"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ub9ac\uc561\ud2b8 \uac15\uc88c: \uc2a4\ucf54\ud504 - \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\/25944\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ub9ac\uc561\ud2b8 \uac15\uc88c: \uc2a4\ucf54\ud504 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8(React)\uc5d0\uc11c\uc758 \uc2a4\ucf54\ud504(Scope)\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uae4a\uac8c \ub2e4\ub904\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \ub9ac\uc561\ud2b8\ub294 \ud604\ub300 \uc6f9 \uac1c\ubc1c\uc5d0\uc11c \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc911 \ud558\ub098\ub85c, \ucef4\ud3ec\ub10c\ud2b8 \uae30\ubc18\uc758 \uc544\ud0a4\ud14d\ucc98\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uac8c \ub3d5\uc2b5\ub2c8\ub2e4. \uc2a4\ucf54\ud504\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc758 \uc911\uc694\ud55c \uac1c\ub150 \uc911 \ud558\ub098\ub85c, \ubcc0\uc218\uc758 \uc720\ud6a8 \ubc94\uc704\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4. \ub530\ub77c\uc11c \ub9ac\uc561\ud2b8 \ucef4\ud3ec\ub10c\ud2b8 \ub0b4\uc5d0\uc11c \uc2a4\ucf54\ud504\ub97c \uc774\ud574\ud558\ub294 \uac83\uc740 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. 1. \uc2a4\ucf54\ud504(Scope)\ub780 \ubb34\uc5c7\uc778\uac00? \uc2a4\ucf54\ud504\ub780 \ud504\ub85c\uadf8\ub7a8 \ub0b4\uc5d0\uc11c \ubcc0\uc218, \ud568\uc218 \ubc0f &hellip; \ub354 \ubcf4\uae30 &quot;\ub9ac\uc561\ud2b8 \uac15\uc88c: \uc2a4\ucf54\ud504&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/25944\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T06:48:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:49:28+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\/25944\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25944\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ub9ac\uc561\ud2b8 \uac15\uc88c: \uc2a4\ucf54\ud504\",\"datePublished\":\"2024-10-27T06:48:41+00:00\",\"dateModified\":\"2024-11-26T07:49:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25944\/\"},\"wordCount\":18,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ub9ac\uc561\ud2b8 \uae30\ucd08 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/25944\/\",\"url\":\"https:\/\/atmokpo.com\/w\/25944\/\",\"name\":\"\ub9ac\uc561\ud2b8 \uac15\uc88c: \uc2a4\ucf54\ud504 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T06:48:41+00:00\",\"dateModified\":\"2024-11-26T07:49:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25944\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/25944\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/25944\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ub9ac\uc561\ud2b8 \uac15\uc88c: \uc2a4\ucf54\ud504\"}]},{\"@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":"\ub9ac\uc561\ud2b8 \uac15\uc88c: \uc2a4\ucf54\ud504 - \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\/25944\/","og_locale":"ko_KR","og_type":"article","og_title":"\ub9ac\uc561\ud2b8 \uac15\uc88c: \uc2a4\ucf54\ud504 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8(React)\uc5d0\uc11c\uc758 \uc2a4\ucf54\ud504(Scope)\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uae4a\uac8c \ub2e4\ub904\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \ub9ac\uc561\ud2b8\ub294 \ud604\ub300 \uc6f9 \uac1c\ubc1c\uc5d0\uc11c \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc911 \ud558\ub098\ub85c, \ucef4\ud3ec\ub10c\ud2b8 \uae30\ubc18\uc758 \uc544\ud0a4\ud14d\ucc98\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ucd95\ud558\uac8c \ub3d5\uc2b5\ub2c8\ub2e4. \uc2a4\ucf54\ud504\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc758 \uc911\uc694\ud55c \uac1c\ub150 \uc911 \ud558\ub098\ub85c, \ubcc0\uc218\uc758 \uc720\ud6a8 \ubc94\uc704\ub97c \ub098\ud0c0\ub0c5\ub2c8\ub2e4. \ub530\ub77c\uc11c \ub9ac\uc561\ud2b8 \ucef4\ud3ec\ub10c\ud2b8 \ub0b4\uc5d0\uc11c \uc2a4\ucf54\ud504\ub97c \uc774\ud574\ud558\ub294 \uac83\uc740 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. 1. \uc2a4\ucf54\ud504(Scope)\ub780 \ubb34\uc5c7\uc778\uac00? \uc2a4\ucf54\ud504\ub780 \ud504\ub85c\uadf8\ub7a8 \ub0b4\uc5d0\uc11c \ubcc0\uc218, \ud568\uc218 \ubc0f &hellip; \ub354 \ubcf4\uae30 \"\ub9ac\uc561\ud2b8 \uac15\uc88c: \uc2a4\ucf54\ud504\"","og_url":"https:\/\/atmokpo.com\/w\/25944\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T06:48:41+00:00","article_modified_time":"2024-11-26T07:49:28+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\/25944\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/25944\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ub9ac\uc561\ud2b8 \uac15\uc88c: \uc2a4\ucf54\ud504","datePublished":"2024-10-27T06:48:41+00:00","dateModified":"2024-11-26T07:49:28+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/25944\/"},"wordCount":18,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ub9ac\uc561\ud2b8 \uae30\ucd08 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/25944\/","url":"https:\/\/atmokpo.com\/w\/25944\/","name":"\ub9ac\uc561\ud2b8 \uac15\uc88c: \uc2a4\ucf54\ud504 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T06:48:41+00:00","dateModified":"2024-11-26T07:49:28+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/25944\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/25944\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/25944\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ub9ac\uc561\ud2b8 \uac15\uc88c: \uc2a4\ucf54\ud504"}]},{"@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\/25944","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=25944"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25944\/revisions"}],"predecessor-version":[{"id":25945,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25944\/revisions\/25945"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=25944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=25944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=25944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}