{"id":39010,"date":"2024-11-02T02:36:19","date_gmt":"2024-11-02T02:36:19","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=39010"},"modified":"2024-11-26T06:42:40","modified_gmt":"2024-11-26T06:42:40","slug":"%eb%a6%ac%ec%95%a1%ed%8a%b8%eb%a1%9c-%eb%8c%80%ec%8b%9c%eb%b3%b4%eb%93%9c-%eb%a7%8c%eb%93%a4%ea%b8%b0-react-router%ec%99%80-redux%eb%a1%9c-%ed%8e%98%ec%9d%b4%ec%a7%80-%ea%b5%ac%ec%84%b1-%eb%b0%8f","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/39010\/","title":{"rendered":"\ub9ac\uc561\ud2b8\ub85c \ub300\uc2dc\ubcf4\ub4dc \ub9cc\ub4e4\uae30, React Router\uc640 Redux\ub85c \ud398\uc774\uc9c0 \uad6c\uc131 \ubc0f \uad00\ub9ac"},"content":{"rendered":"<p><body><\/p>\n<p>\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\ub97c \ud65c\uc6a9\ud558\uc5ec \ub300\uc2dc\ubcf4\ub4dc\ub97c \ub9cc\ub4dc\ub294 \ubc29\ubc95, React Router\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud398\uc774\uc9c0\ub97c \uad6c\uc131\ud558\ub294 \ubc29\uc2dd, \uadf8\ub9ac\uace0 Redux\ub97c \ud1b5\ud574 \uc0c1\ud0dc \uad00\ub9ac\ub97c \uc9c4\ud589\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. \ud504\ub85c\uc81d\ud2b8 \uc124\uc815<\/h2>\n<p>\ub300\uc2dc\ubcf4\ub4dc \ud504\ub85c\uc81d\ud2b8\ub97c \uc2dc\uc791\ud558\uae30 \uc804\uc5d0 \uba3c\uc800 \ub9ac\uc561\ud2b8 \ud658\uacbd\uc744 \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. Create React App\uc744 \uc0ac\uc6a9\ud558\uba74 \uc190\uc27d\uac8c \ub9ac\uc561\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre>\n        <code>\n            npx create-react-app dashboard-app\n            cd dashboard-app\n            npm install react-router-dom redux react-redux\n        <\/code>\n    <\/pre>\n<p>\uc5ec\uae30\uc11c\ub294 <code>react-router-dom<\/code>\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud398\uc774\uc9c0 \uc0ac\uc774\uc758 \ud0d0\uc0c9\uc744 \uad6c\uc131\ud558\uace0, <code>redux<\/code>\uc640 <code>react-redux<\/code>\ub97c \uc0ac\uc6a9\ud574 \uc0c1\ud0dc \uad00\ub9ac\ub97c \ucc98\ub9ac\ud560 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<h2>2. \uae30\ubcf8 \uad6c\uc870 \uc124\uc815<\/h2>\n<p>\uba3c\uc800 \ud504\ub85c\uc81d\ud2b8\uc758 \uae30\ubcf8 \uad6c\uc870\ub97c \uc124\uc815\ud569\ub2c8\ub2e4. <code>src<\/code> \ub514\ub809\ud1a0\ub9ac \uc544\ub798\uc5d0 <code>components<\/code>, <code>pages<\/code>, <code>redux<\/code> \ub514\ub809\ud1a0\ub9ac\ub97c \uc0dd\uc131\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre>\n        <code>\n            \u251c\u2500\u2500 src\n            \u2502   \u251c\u2500\u2500 components\n            \u2502   \u251c\u2500\u2500 pages\n            \u2502   \u2514\u2500\u2500 redux\n        <\/code>\n    <\/pre>\n<h2>3. React Router \uc124\uc815<\/h2>\n<p>React Router\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\uc758 \ub2e4\uc591\ud55c \ud398\uc774\uc9c0 \uac04\uc758 \ud0d0\uc0c9\uc744 \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <code>src\/App.js<\/code> \ud30c\uc77c\uc744 \uc5f4\uc5b4 \ub2e4\uc74c\uacfc \uac19\uc774 \uc218\uc815\ud569\ub2c8\ub2e4:<\/p>\n<pre>\n        <code>\n            import React from 'react';\n            import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';\n            import Home from '.\/pages\/Home';\n            import About from '.\/pages\/About';\n            import NotFound from '.\/pages\/NotFound';\n\n            function App() {\n                return (\n                    <router>\n                        <switch>\n                            <route component=\"{Home}\" exact=\"\" path=\"\/\"><\/route>\n                            <route component=\"{About}\" path=\"\/about\"><\/route>\n                            <route component=\"{NotFound}\"><\/route>\n                        <\/switch>\n                    <\/router>\n                );\n            }\n\n            export default App;\n        <\/code>\n    <\/pre>\n<h3>3.1 \uac01 \ud398\uc774\uc9c0(Component) \uc0dd\uc131<\/h3>\n<p>\uc774\uc81c <code>pages<\/code> \ub514\ub809\ud1a0\ub9ac\uc5d0 <code>Home.js<\/code>, <code>About.js<\/code>, <code>NotFound.js<\/code> \ud30c\uc77c\uc744 \uc0dd\uc131\ud558\uace0 \uac04\ub2e8\ud55c \ub0b4\uc6a9\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/p>\n<pre>\n        <code>\n            \/\/ src\/pages\/Home.js\n            import React from 'react';\n\n            function Home() {\n                return <h2>\ud648 \ud398\uc774\uc9c0<\/h2>;\n            }\n\n            export default Home;\n        <\/code>\n    <\/pre>\n<pre>\n        <code>\n            \/\/ src\/pages\/About.js\n            import React from 'react';\n\n            function About() {\n                return <h2>\uc18c\uac1c \ud398\uc774\uc9c0<\/h2>;\n            }\n\n            export default About;\n        <\/code>\n    <\/pre>\n<pre>\n        <code>\n            \/\/ src\/pages\/NotFound.js\n            import React from 'react';\n\n            function NotFound() {\n                return <h2>\ud398\uc774\uc9c0\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.<\/h2>;\n            }\n\n            export default NotFound;\n        <\/code>\n    <\/pre>\n<h2>4. Redux \uc124\uc815<\/h2>\n<p>\uc0c1\ud0dc \uad00\ub9ac\ub97c \uc704\ud574 Redux\ub97c \uc0ac\uc6a9\ud560 \uac83\uc785\ub2c8\ub2e4. Redux\ub294 \uc911\uc559 \ub370\uc774\ud130 \uc800\uc7a5\uc18c\ub97c \ud1b5\ud574 \uc0c1\ud0dc\ub97c \uad00\ub9ac\ud558\uba70, \uc774\ub294 \uc5ec\ub7ec \ucef4\ud3ec\ub10c\ud2b8 \uac04\uc5d0 \uc77c\uad00\ub41c \uc0c1\ud0dc\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/p>\n<h3>4.1 Redux \uc2a4\ud1a0\uc5b4 \uc0dd\uc131<\/h3>\n<p>\uba3c\uc800 <code>redux<\/code> \ub514\ub809\ud1a0\ub9ac \ub0b4\uc5d0 <code>store.js<\/code> \ud30c\uc77c\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre>\n        <code>\n            \/\/ src\/redux\/store.js\n            import { createStore } from 'redux';\n\n            const initialState = {\n                count: 0,\n            };\n\n            const reducer = (state = initialState, action) =&gt; {\n                switch (action.type) {\n                    case 'INCREMENT':\n                        return { ...state, count: state.count + 1 };\n                    case 'DECREMENT':\n                        return { ...state, count: state.count - 1 };\n                    default:\n                        return state;\n                }\n            };\n\n            const store = createStore(reducer);\n\n            export default store;\n        <\/code>\n    <\/pre>\n<h3>4.2 Redux \ud504\ub85c\ubc14\uc774\ub354 \uc124\uc815<\/h3>\n<p>\uc774\uc81c <code>src\/index.js<\/code> \ud30c\uc77c\uc744 \uc218\uc815\ud558\uc5ec Redux \uc2a4\ud1a0\uc5b4\ub97c \ud504\ub85c\ubc14\uc774\ub354\ub85c \uac10\uc2f8\uc8fc\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre>\n        <code>\n            import React from 'react';\n            import ReactDOM from 'react-dom';\n            import { Provider } from 'react-redux';\n            import store from '.\/redux\/store';\n            import App from '.\/App';\n\n            ReactDOM.render(\n                <provider store=\"{store}\">\n                    <app><\/app>\n                <\/provider>,\n                document.getElementById('root')\n            );\n        <\/code>\n    <\/pre>\n<h3>4.3 Redux\ub97c \uc0ac\uc6a9\ud558\ub294 \ucef4\ud3ec\ub10c\ud2b8<\/h3>\n<p>\uc774\uc81c Redux \uc0c1\ud0dc\ub97c \uc0ac\uc6a9\ud558\ub294 \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. <code>src\/components\/Counter.js<\/code> \ud30c\uc77c\uc744 \uc0dd\uc131\ud558\uace0 \ub2e4\uc74c\uacfc \uac19\uc774 \uc791\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre>\n        <code>\n            \/\/ src\/components\/Counter.js\n            import React from 'react';\n            import { useDispatch, useSelector } from 'react-redux';\n\n            function Counter() {\n                const count = useSelector((state) =&gt; state.count);\n                const dispatch = useDispatch();\n\n                return (\n                    <div>\n                        <h2>\ud604\uc7ac \uce74\uc6b4\ud2b8: {count}<\/h2>\n                        <button ==\"\" onclick=\"{()\"> dispatch({ type: 'INCREMENT' })}&gt;\uc99d\uac00<\/button>\n                        <button ==\"\" onclick=\"{()\"> dispatch({ type: 'DECREMENT' })}&gt;\uac10\uc18c<\/button>\n                    <\/div>\n                );\n            }\n\n            export default Counter;\n        <\/code>\n    <\/pre>\n<h2>5. \ub300\uc2dc\ubcf4\ub4dc \uc644\uc131\ud558\uae30<\/h2>\n<p>\ub300\uc2dc\ubcf4\ub4dc \uc644\uc131\uc744 \uc704\ud574 \uc774\uc81c <code>Home.js<\/code> \ud398\uc774\uc9c0\uc5d0 Counter \ucef4\ud3ec\ub10c\ud2b8\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4.<\/p>\n<pre>\n        <code>\n            \/\/ src\/pages\/Home.js\n            import React from 'react';\n            import Counter from '..\/components\/Counter';\n\n            function Home() {\n                return (\n                    <div>\n                        <h2>\ud648 \ud398\uc774\uc9c0<\/h2>\n                        <counter><\/counter>\n                    <\/div>\n                );\n            }\n\n            export default Home;\n        <\/code>\n    <\/pre>\n<h2>6. \uc2a4\ud0c0\uc77c\ub9c1 \ucd94\uac00\ud558\uae30<\/h2>\n<p>\ub300\uc2dc\ubcf4\ub4dc\uc5d0 \uc57d\uac04\uc758 \uc2a4\ud0c0\uc77c\uc744 \ucd94\uac00\ud558\uc5ec \ub354\uc6b1 \ubcf4\uae30 \uc88b\uc740 UI\ub97c \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. <code>src\/App.css<\/code> \ud30c\uc77c\uc744 \uc218\uc815\ud558\uc5ec \ub2e4\uc74c\uacfc \uac19\uc740 \uc2a4\ud0c0\uc77c\uc744 \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre>\n        <code>\n            body {\n                font-family: Arial, sans-serif;\n                background: #f4f4f4;\n                margin: 0;\n                padding: 0;\n            }\n\n            h2 {\n                color: #333;\n            }\n\n            button {\n                margin: 5px;\n                padding: 10px 15px;\n                border: none;\n                background: #007bff;\n                color: #fff;\n                cursor: pointer;\n                border-radius: 5px;\n            }\n\n            button:hover {\n                background: #0056b3;\n            }\n        <\/code>\n    <\/pre>\n<h2>7. \ucd5c\uc885 \uacb0\uacfc \ud655\uc778\ud558\uae30<\/h2>\n<p>\ubaa8\ub4e0 \uc124\uc815\uc744 \uc644\ub8cc\ud558\uc600\uc73c\ub2c8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc2e4\ud589\ud574 \ubcf4\uace0 \ucd5c\uc885 \uacb0\uacfc\ub97c \ud655\uc778\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac1c\ubc1c \uc11c\ubc84\ub97c \uc2e4\ud589\ud569\ub2c8\ub2e4.<\/p>\n<pre>\n        <code>\n            npm start\n        <\/code>\n    <\/pre>\n<p>\ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c <code>http:\/\/localhost:3000<\/code>\ub97c \uc5f4\uace0 \ub300\uc2dc\ubcf4\ub4dc\uc640 \uac01 \ud398\uc774\uc9c0\uac00 \uc81c\ub300\ub85c \uc791\ub3d9\ud558\ub294\uc9c0 \ud655\uc778\ud558\uc138\uc694. \uce74\uc6b4\ud130\uc758 \uc99d\uac00 \ubc0f \uac10\uc18c \ubc84\ud2bc\uc744 \ub20c\ub7ec \uc0c1\ud0dc\uac00 \uc798 \uad00\ub9ac\ub418\uace0 \uc788\ub294\uc9c0 \uc2e4\ud5d8\ud574\ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\ub85c \ub300\uc2dc\ubcf4\ub4dc\ub97c \ub9cc\ub4dc\ub294 \uae30\ubcf8\uc801\uc778 \ubc29\ubc95\uc744 \ub2e4\ub8e8\uc5c8\uc2b5\ub2c8\ub2e4. React Router\ub97c \uc774\uc6a9\ud558\uc5ec \ud398\uc774\uc9c0\ub97c \uad6c\uc131\ud558\uace0, Redux\ub97c \ud1b5\ud574 \uc0c1\ud0dc \uad00\ub9ac\ub97c \uc9c4\ud589\ud558\ub294 \uacfc\uc815\uc744 \ubc30\uc6e0\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ubc14\ud0d5\uc73c\ub85c \ub354 \ubcf5\uc7a1\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\ub3c4 \uc190\uc27d\uac8c \uad6c\ucd95\ud560 \uc218 \uc788\uc744 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<p>\ucd94\uac00\uc801\uc73c\ub85c \uac01 \ud398\uc774\uc9c0\uc5d0 \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8\ub97c \ucd94\uac00\ud558\uac70\ub098, \uc2a4\ud0c0\uc77c\uc744 \ubcf4\uc644\ud558\uc5ec \uc790\uc2e0\ub9cc\uc758 \ub300\uc2dc\ubcf4\ub4dc\ub97c \uc644\uc131\ud574\ubcf4\uc138\uc694.<\/p>\n<h2>\ucc38\uace0 \uc790\ub8cc<\/h2>\n<p>\uc544\ub798\ub294 \ub9ac\uc561\ud2b8, Redux, React Router\uc5d0 \ub300\ud55c \uacf5\uc2dd \ubb38\uc11c \ub9c1\ud06c\uc785\ub2c8\ub2e4. \ucd94\uac00\uc801\uc73c\ub85c \ud559\uc2b5\ud558\uc2dc\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub420 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<ul>\n<li><a href=\"https:\/\/reactjs.org\/docs\/getting-started.html\">React \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/redux.js.org\/introduction\/getting-started\">Redux \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/reactrouter.com\/web\/guides\/quick-start\">React Router \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\ub97c \ud65c\uc6a9\ud558\uc5ec \ub300\uc2dc\ubcf4\ub4dc\ub97c \ub9cc\ub4dc\ub294 \ubc29\ubc95, React Router\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud398\uc774\uc9c0\ub97c \uad6c\uc131\ud558\ub294 \ubc29\uc2dd, \uadf8\ub9ac\uace0 Redux\ub97c \ud1b5\ud574 \uc0c1\ud0dc \uad00\ub9ac\ub97c \uc9c4\ud589\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. \ud504\ub85c\uc81d\ud2b8 \uc124\uc815 \ub300\uc2dc\ubcf4\ub4dc \ud504\ub85c\uc81d\ud2b8\ub97c \uc2dc\uc791\ud558\uae30 \uc804\uc5d0 \uba3c\uc800 \ub9ac\uc561\ud2b8 \ud658\uacbd\uc744 \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. Create React App\uc744 \uc0ac\uc6a9\ud558\uba74 \uc190\uc27d\uac8c \ub9ac\uc561\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. npx create-react-app dashboard-app cd dashboard-app npm install react-router-dom redux react-redux &hellip; <a href=\"https:\/\/atmokpo.com\/w\/39010\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ub9ac\uc561\ud2b8\ub85c \ub300\uc2dc\ubcf4\ub4dc \ub9cc\ub4e4\uae30, React Router\uc640 Redux\ub85c \ud398\uc774\uc9c0 \uad6c\uc131 \ubc0f \uad00\ub9ac&#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-39010","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>\ub9ac\uc561\ud2b8\ub85c \ub300\uc2dc\ubcf4\ub4dc \ub9cc\ub4e4\uae30, React Router\uc640 Redux\ub85c \ud398\uc774\uc9c0 \uad6c\uc131 \ubc0f \uad00\ub9ac - \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\/39010\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ub9ac\uc561\ud2b8\ub85c \ub300\uc2dc\ubcf4\ub4dc \ub9cc\ub4e4\uae30, React Router\uc640 Redux\ub85c \ud398\uc774\uc9c0 \uad6c\uc131 \ubc0f \uad00\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\ub97c \ud65c\uc6a9\ud558\uc5ec \ub300\uc2dc\ubcf4\ub4dc\ub97c \ub9cc\ub4dc\ub294 \ubc29\ubc95, React Router\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud398\uc774\uc9c0\ub97c \uad6c\uc131\ud558\ub294 \ubc29\uc2dd, \uadf8\ub9ac\uace0 Redux\ub97c \ud1b5\ud574 \uc0c1\ud0dc \uad00\ub9ac\ub97c \uc9c4\ud589\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. \ud504\ub85c\uc81d\ud2b8 \uc124\uc815 \ub300\uc2dc\ubcf4\ub4dc \ud504\ub85c\uc81d\ud2b8\ub97c \uc2dc\uc791\ud558\uae30 \uc804\uc5d0 \uba3c\uc800 \ub9ac\uc561\ud2b8 \ud658\uacbd\uc744 \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. Create React App\uc744 \uc0ac\uc6a9\ud558\uba74 \uc190\uc27d\uac8c \ub9ac\uc561\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. npx create-react-app dashboard-app cd dashboard-app npm install react-router-dom redux react-redux &hellip; \ub354 \ubcf4\uae30 &quot;\ub9ac\uc561\ud2b8\ub85c \ub300\uc2dc\ubcf4\ub4dc \ub9cc\ub4e4\uae30, React Router\uc640 Redux\ub85c \ud398\uc774\uc9c0 \uad6c\uc131 \ubc0f \uad00\ub9ac&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/39010\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-02T02:36:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:42:40+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=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/39010\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39010\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ub9ac\uc561\ud2b8\ub85c \ub300\uc2dc\ubcf4\ub4dc \ub9cc\ub4e4\uae30, React Router\uc640 Redux\ub85c \ud398\uc774\uc9c0 \uad6c\uc131 \ubc0f \uad00\ub9ac\",\"datePublished\":\"2024-11-02T02:36:19+00:00\",\"dateModified\":\"2024-11-26T06:42:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39010\/\"},\"wordCount\":34,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"React\ud504\ub860\ud2b8\uc5d4\ub4dc\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/39010\/\",\"url\":\"https:\/\/atmokpo.com\/w\/39010\/\",\"name\":\"\ub9ac\uc561\ud2b8\ub85c \ub300\uc2dc\ubcf4\ub4dc \ub9cc\ub4e4\uae30, React Router\uc640 Redux\ub85c \ud398\uc774\uc9c0 \uad6c\uc131 \ubc0f \uad00\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-02T02:36:19+00:00\",\"dateModified\":\"2024-11-26T06:42:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39010\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/39010\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/39010\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ub9ac\uc561\ud2b8\ub85c \ub300\uc2dc\ubcf4\ub4dc \ub9cc\ub4e4\uae30, React Router\uc640 Redux\ub85c \ud398\uc774\uc9c0 \uad6c\uc131 \ubc0f \uad00\ub9ac\"}]},{\"@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\ub85c \ub300\uc2dc\ubcf4\ub4dc \ub9cc\ub4e4\uae30, React Router\uc640 Redux\ub85c \ud398\uc774\uc9c0 \uad6c\uc131 \ubc0f \uad00\ub9ac - \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\/39010\/","og_locale":"ko_KR","og_type":"article","og_title":"\ub9ac\uc561\ud2b8\ub85c \ub300\uc2dc\ubcf4\ub4dc \ub9cc\ub4e4\uae30, React Router\uc640 Redux\ub85c \ud398\uc774\uc9c0 \uad6c\uc131 \ubc0f \uad00\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\ub97c \ud65c\uc6a9\ud558\uc5ec \ub300\uc2dc\ubcf4\ub4dc\ub97c \ub9cc\ub4dc\ub294 \ubc29\ubc95, React Router\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud398\uc774\uc9c0\ub97c \uad6c\uc131\ud558\ub294 \ubc29\uc2dd, \uadf8\ub9ac\uace0 Redux\ub97c \ud1b5\ud574 \uc0c1\ud0dc \uad00\ub9ac\ub97c \uc9c4\ud589\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. \ud504\ub85c\uc81d\ud2b8 \uc124\uc815 \ub300\uc2dc\ubcf4\ub4dc \ud504\ub85c\uc81d\ud2b8\ub97c \uc2dc\uc791\ud558\uae30 \uc804\uc5d0 \uba3c\uc800 \ub9ac\uc561\ud2b8 \ud658\uacbd\uc744 \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. Create React App\uc744 \uc0ac\uc6a9\ud558\uba74 \uc190\uc27d\uac8c \ub9ac\uc561\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. npx create-react-app dashboard-app cd dashboard-app npm install react-router-dom redux react-redux &hellip; \ub354 \ubcf4\uae30 \"\ub9ac\uc561\ud2b8\ub85c \ub300\uc2dc\ubcf4\ub4dc \ub9cc\ub4e4\uae30, React Router\uc640 Redux\ub85c \ud398\uc774\uc9c0 \uad6c\uc131 \ubc0f \uad00\ub9ac\"","og_url":"https:\/\/atmokpo.com\/w\/39010\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-02T02:36:19+00:00","article_modified_time":"2024-11-26T06:42:40+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":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/39010\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/39010\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ub9ac\uc561\ud2b8\ub85c \ub300\uc2dc\ubcf4\ub4dc \ub9cc\ub4e4\uae30, React Router\uc640 Redux\ub85c \ud398\uc774\uc9c0 \uad6c\uc131 \ubc0f \uad00\ub9ac","datePublished":"2024-11-02T02:36:19+00:00","dateModified":"2024-11-26T06:42:40+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/39010\/"},"wordCount":34,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["React\ud504\ub860\ud2b8\uc5d4\ub4dc"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/39010\/","url":"https:\/\/atmokpo.com\/w\/39010\/","name":"\ub9ac\uc561\ud2b8\ub85c \ub300\uc2dc\ubcf4\ub4dc \ub9cc\ub4e4\uae30, React Router\uc640 Redux\ub85c \ud398\uc774\uc9c0 \uad6c\uc131 \ubc0f \uad00\ub9ac - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-02T02:36:19+00:00","dateModified":"2024-11-26T06:42:40+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/39010\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/39010\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/39010\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ub9ac\uc561\ud2b8\ub85c \ub300\uc2dc\ubcf4\ub4dc \ub9cc\ub4e4\uae30, React Router\uc640 Redux\ub85c \ud398\uc774\uc9c0 \uad6c\uc131 \ubc0f \uad00\ub9ac"}]},{"@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\/39010","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=39010"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39010\/revisions"}],"predecessor-version":[{"id":39011,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39010\/revisions\/39011"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=39010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=39010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=39010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}