{"id":3308,"date":"2017-08-17T15:27:11","date_gmt":"2017-08-17T06:27:11","guid":{"rendered":"http:\/\/vitalify.jp\/app-lab\/?p=3308"},"modified":"2026-04-11T21:25:59","modified_gmt":"2026-04-11T12:25:59","slug":"20170817-reactjs","status":"publish","type":"post","link":"https:\/\/vitalify.jp\/app-lab\/vietnam-offshore\/20170817-reactjs\/","title":{"rendered":"\u65b0\u5352\u5165\u793e3\u30f6\u6708\u76ee\u304c\u521d\u5fc3\u8005\u76ee\u7dda\u3067\u8a9e\u308b\u6ce8\u76ee\u306e\u958b\u767a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u300cReact.js\u300d\u3068\u306f\uff1f"},"content":{"rendered":"<p>\u521d\u3081\u307e\u3057\u3066\u3001vitalify.asia\u65b0\u5352\u5165\u793e3\u30f6\u6708\u76ee\uff06IT\u7d4c\u9a133\u30f6\u6708\u76ee\u306e\u5c0f\u6797\u3067\u3059\u3002\u5148\u65e5\u306e\u6295\u7a3f\u3067React.js\u306e\u7d4c\u9a13\u304c\u3042\u308bCV\u304c\u305f\u304f\u3055\u3093\u5c4a\u3044\u3066\u3044\u305f\u4e8b\u3092\u77e5\u308a\u3001\u8208\u5473\u3092\u6301\u3063\u305f\u306e\u3067React.js\u306b\u3064\u3044\u3066\u77e5\u308a\u5f97\u305f\u60c5\u5831\u3092\u307e\u3068\u3081\u3066\u898b\u307e\u3057\u305f\u3002\u512a\u3057\u3044\u76ee\u3067\u304a\u8aad\u307f\u3044\u305f\u3060\u3051\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">\u76ee\u6b21<\/p><ul class=\"toc_list\"><li><a href=\"#1_Reactjs\">1. React.js\u3068\u306f<\/a><\/li><li><a href=\"#2_Flux\">2. Flux\u3068\u306f<\/a><\/li><li><a href=\"#3_Redux\">3. Redux\u3068\u306f<\/a><\/li><li><a href=\"#4\">4. \u30d9\u30c8\u30ca\u30e0\u3067\u30aa\u30d5\u30b7\u30e7\u30a2\u958b\u767a\u3092\u3059\u308b\u306a\u3089\u30d0\u30a4\u30bf\u30ea\u30d5\u30a3\u3078<\/a><\/li><\/ul><\/div>\n<h2><span id=\"1_Reactjs\">1. React.js\u3068\u306f<\/span><\/h2>\n<p>React.js\u306b\u95a2\u3057\u3066\u8a73\u3057\u304f\u66f8\u3044\u305f\u6587\u9762\u306f\u305f\u304f\u3055\u3093\u51fa\u56de\u3063\u3066\u3044\u308b\u70ba\u3001\u521d\u5fc3\u8005\u76ee\u7dda\u3067\u3044\u304b\u306b\u7c21\u6613\u7684\u306b\u8aac\u660e\u3067\u304d\u308b\u304b\u304c\u4eca\u56de\u306e\u8ab2\u984c\u3067\u3059\uff08\u50d5\u304c\u521d\u5fc3\u8005\u306a\u306e\u3067\uff09\u3002<\/p>\n<p>React.js\u3068\u306f<\/p>\n<p>&#8211; Facebook\u304cOSS\u3068\u3057\u3066\u516c\u958b\u3057\u305f\u3082\u306e<\/p>\n<p>&#8211; \u3064\u307e\u308aFacebook\u793e\u304c\u516c\u958b\u3057\u305fUI\u69cb\u7bc9\u306e\u305f\u3081\u306ejs\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3044\u3046\u4e8b<\/p>\n<p>&#8211; \u3057\u305f\u304c\u3063\u3066js\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u306f\u306a\u3044\uff08\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304b\u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\uff09<\/p>\n<p>\u307e\u3068\u3081\u308b\u3068\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u8003\u3048\u65b9\u3092\u63a8\u3057\u9032\u3081\u305f\u3001\u30e2\u30c0\u30f3\u306a\u6982\u5ff5\u306e\u5c11\u3057\u304b\u3057\u3053\u3044View\u30e9\u30a4\u30d6\u30e9\u30ea\u3001\u3068\u3044\u3046\u611f\u3058\u3067\u3059\u3002<\/p>\n<p>\u5148\u65e5\u307e\u3068\u3081\u305f\u30c7\u30fc\u30bf\u3092\u5143\u306b\u4ecaReact\u304c\u3069\u308c\u304f\u3089\u3044\u4eba\u6c17\u304c\u3042\u308b\u306e\u304b\u691c\u8a3c\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<script type=\"text\/javascript\" src=\"https:\/\/www.amcharts.com\/lib\/3\/amcharts.js\"><\/script><script type=\"text\/javascript\" src=\"https:\/\/www.amcharts.com\/lib\/3\/serial.js\"><\/script><script type=\"text\/javascript\" src=\"https:\/\/www.amcharts.com\/lib\/3\/themes\/dark.js\"><\/script><script type=\"text\/javascript\">\n\t\t\tAmCharts.makeChart(\"chartdiv\",\n\t\t\t\t{\n\t\t\t\t\t\"type\": \"serial\",\n\t\t\t\t\t\"categoryField\": \"date\",\n\t\t\t\t\t\"dataDateFormat\": \"YYYY-MM\",\n\t\t\t\t\t\"theme\": \"dark\",\n\t\t\t\t\t\"categoryAxis\": {\n\t\t\t\t\t\t\"minPeriod\": \"MM\",\n\t\t\t\t\t\t\"parseDates\": true\n\t\t\t\t\t},\n\t\t\t\t\t\"chartCursor\": {\n\t\t\t\t\t\t\"enabled\": true,\n\t\t\t\t\t\t\"categoryBalloonDateFormat\": \"MMM YYYY\"\n\t\t\t\t\t},\n\t\t\t\t\t\"chartScrollbar\": {\n\t\t\t\t\t\t\"enabled\": true\n\t\t\t\t\t},\n\t\t\t\t\t\"trendLines\": [],\n\t\t\t\t\t\"graphs\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"bullet\": \"round\",\n\t\t\t\t\t\t\t\"id\": \"AmGraph-1\",\n\t\t\t\t\t\t\t\"title\": \"Sites\",\n\t\t\t\t\t\t\t\"valueField\": \"Sites\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"bullet\": \"square\",\n\t\t\t\t\t\t\t\"id\": \"AmGraph-2\",\n\t\t\t\t\t\t\t\"tabIndex\": 5,\n\t\t\t\t\t\t\t\"title\": \"Score\",\n\t\t\t\t\t\t\t\"valueField\": \"Score\"\n\t\t\t\t\t\t}\n\t\t\t\t\t],\n\t\t\t\t\t\"guides\": [],\n\t\t\t\t\t\"valueAxes\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"id\": \"ValueAxis-1\",\n\t\t\t\t\t\t\t\"title\": \"\"\n\t\t\t\t\t\t}\n\t\t\t\t\t],\n\t\t\t\t\t\"allLabels\": [],\n\t\t\t\t\t\"balloon\": {\n\t\t\t\t\t\t\"borderThickness\": 1\n\t\t\t\t\t},\n\t\t\t\t\t\"legend\": {\n\t\t\t\t\t\t\"enabled\": true,\n\t\t\t\t\t\t\"useGraphSettings\": true\n\t\t\t\t\t},\n\t\t\t\t\t\"titles\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"id\": \"Title-1\",\n\t\t\t\t\t\t\t\"size\": 15,\n\t\t\t\t\t\t\t\"text\": \"Sites & Score\"\n\t\t\t\t\t\t}\n\t\t\t\t\t],\n\t\t\t\t\t\"dataProvider\": [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"date\": \"2016-12\",\n\t\t\t\t\t\t\t\"Sites\": \"1675\",\n\t\t\t\t\t\t\t\"Score\": \"90\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"date\": \"2017-01\",\n\t\t\t\t\t\t\t\"Sites\": \"1650\",\n\t\t\t\t\t\t\t\"Score\": \"91\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"date\": \"2017-02\",\n\t\t\t\t\t\t\t\"Sites\": \"1825\",\n\t\t\t\t\t\t\t\"Score\": \"91\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"date\": \"2017-03\",\n\t\t\t\t\t\t\t\"Sites\": \"1942\",\n\t\t\t\t\t\t\t\"Score\": \"91\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"date\": \"2017-04\",\n\t\t\t\t\t\t\t\"Sites\": \"2131\",\n\t\t\t\t\t\t\t\"Score\": \"92\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"date\": \"2017-05\",\n\t\t\t\t\t\t\t\"Sites\": \"1455\",\n\t\t\t\t\t\t\t\"Score\": \"92\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t);\n\t\t<\/script><\/p>\n<div id=\"chartdiv\" style=\"width: 100%; height: 400px; background-color: #282828;\"><\/div>\n<p>&nbsp;<\/p>\n<p>sites\u306f<a href=\"http:\/\/libscore.com\/#\" target=\"_blank\" rel=\"noopener noreferrer\">Libscore<\/a>\u306esites\u6570\u3001score\u306f<a href=\"https:\/\/hotframeworks.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">hotframeworks<\/a>\u306e\u3082\u306e\u3067\u3059\u3002\u3042\u307e\u308a\u5909\u52d5\u306e\u306a\u3044\u30b0\u30e9\u30d5\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u304c\u3001\u5185\u5bb9\u3092\u8abf\u3079\u3066\u898b\u308b\u3068\u3001\u73fe\u5728(24\/7\/2017)github\u306estar\u6570\u304c71.7k\u3068\u307e\u3060\u4e16\u754c\u3067\u306e\u95a2\u5fc3\u304c\u9ad8\u3044\u8a00\u8a9e\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f<a href=\"http:\/\/libscore.com\/#\" target=\"_blank\" rel=\"noopener noreferrer\">Libscore<\/a>\u306e\u30c7\u30fc\u30bf\u3092\u898b\u308b\u3068\u3001\u73fe\u5728React.js\u3092\u5b9f\u88c5\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u3082\u51fa\u3066\u304d\u305f\u306e\u3067\u5c11\u3057pick up\u3057\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<img decoding=\"async\" class=\"size-full wp-image-3445 aligncenter\" src=\"http:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-27-at-9.41.19.png\" alt=\"\" width=\"435\" height=\"607\" srcset=\"https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-27-at-9.41.19.png 435w, https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-27-at-9.41.19-215x300.png 215w\" sizes=\"(max-width: 435px) 100vw, 435px\" \/><\/p>\n<p>\u5b9f\u969b\u306b<a href=\"https:\/\/feedly.com\">feedly.com<\/a>\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u304b\u8abf\u3079\u3066\u307f\u305f\u3089<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-3497\" src=\"https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-08-14-at-13.38.02.png\" alt=\"\" width=\"1124\" height=\"630\" srcset=\"https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-08-14-at-13.38.02.png 1124w, https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-08-14-at-13.38.02-300x168.png 300w, https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-08-14-at-13.38.02-768x430.png 768w, https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-08-14-at-13.38.02-1024x574.png 1024w\" sizes=\"(max-width: 1124px) 100vw, 1124px\" \/><\/p>\n<p>\u3042\u308a\u307e\u3057\u305f\u3002\u305f\u304f\u3055\u3093ReactDOM\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>React\u306e\u7279\u5fb4\u306f<\/p>\n<p>&#8211; Just the UI\uff1aMVC\u306eV\u306b\u3042\u305f\u308bUI\u306e\u307f\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3001\u4ed6\u306b\u3069\u3046\u3044\u3063\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u304b\u306f\u554f\u308f\u306a\u3044<\/p>\n<p>&#8211; Virtual DOM\uff08\uff1d\u4eee\u60f3DOM\uff09\uff1a\u5b9f\u969b\u306eDOM\u306b\u5bfe\u3059\u308b\u64cd\u4f5c\u3092\u62bd\u8c61\u5316\u3057\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u30b3\u30fc\u30c9\u3067\u305d\u308c\u306a\u308a\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u63d0\u4f9b\u3059\u308b<\/p>\n<p>&#8211; Data flow\uff1a\u4e00\u65b9\u5411\u306e\u30c7\u30fc\u30bf\u30d5\u30ed\u30fc\u306b\u3088\u308a\u3001\u5f93\u6765\u306e\u53cc\u65b9\u5411\u30c7\u30fc\u30bf\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3092\u5b9f\u73fe\u3059\u308b\u30b3\u30fc\u30c9\u3088\u308a\u3082\u7c21\u7d20\u3067\u308f\u304b\u308a\u3084\u3059\u3044<\/p>\n<p>\u30b7\u30f3\u30d7\u30eb\u306b\u4e00\u8a00\u3067\u8a00\u3046\u3068\u3001<\/p>\n<p>&#8211; Component\uff08\u30b3\u30f3\u30dd\u30cd\u30fc\u30c8\uff09\u3092\u4f5c\u308b<\/p>\n<p>\u4ee5\u4e0a\uff01\uff01\uff01\uff01\u7b11<\/p>\n<p>\u3057\u304b\u3057\u305d\u308c\u306b\u3088\u3063\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4f5c\u308a\u65b9\u3092\u5909\u3048\u308b\u3053\u3068\u304c\u51fa\u6765\u308b(\u4e00\u756a\u809d\u5fc3\uff09\u3002<\/p>\n<p><span style=\"font-weight: 400;\">\u30c7\u30fc\u30bf\u306e\u53d7\u3051\u6e21\u3057\u65b9\u6cd5\u306f\u3001\uff12\u7a2e\u985e\u3010props, state\u3011\uff08\u6b21\u56de\u8a73\u3057\u304f\u8aac\u660e\uff09<\/span><\/p>\n<p>\u3057\u304b\u3057React\u304c\u4f5c\u308c\u308b\u306e\u306fView\u6a5f\u80fd\u306e\u307f\u3002\u305d\u3053\u3067View\u6a5f\u80fd\u4ee5\u5916\u3092\u88dc\u3046\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3067Flux\u3068\u3044\u3046\u3082\u306e\u304c\u51fa\u3066\u304d\u3066\u3001\u5b9f\u88c5\u306b\u306fRedux\u3068\u3044\u3046Flux\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u4e3b\u306bReact\u3067\u306f\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"text-decoration: underline;\">\u3053\u3053\u3067Flux\u3068Redux\u3068\u3044\u3046\u30ef\u30fc\u30c9\u3092\u305d\u308c\u305e\u308c\u4e0b\u8a18\u3067\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/span><\/p>\n<h2><span id=\"2_Flux\">2. Flux\u3068\u306f<\/span><\/h2>\n<p>\u8981\u70b9\u3092\u8aac\u660e\u3059\u308b\u3068\u3001<\/p>\n<p>&#8211; Facebook\u304c\u8003\u6848\u3057\u305f\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30b9\u30bf\u30a4\u30eb<\/p>\n<p>&#8211; \u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u306f\u306a\u3044(\u5f53\u305f\u308a\u524d\uff09<\/p>\n<p>&#8211; \u30c7\u30fc\u30bf\u306e\u6d41\u308c\u3092\u4e00\u65b9\u5411\u306b\u9650\u5b9a\u3059\u308b\u306e\u304c\u7279\u5fb4\u7684\u306a\u8a2d\u8a08\u30d1\u30bf\u30fc\u30f3<br \/>\n<img decoding=\"async\" class=\"size-full wp-image-3412 aligncenter\" src=\"http:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-24-at-18.11.30.png\" alt=\"\" width=\"938\" height=\"555\" srcset=\"https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-24-at-18.11.30.png 938w, https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-24-at-18.11.30-300x178.png 300w, https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-24-at-18.11.30-768x454.png 768w\" sizes=\"(max-width: 938px) 100vw, 938px\" \/>\u00a0\u3053\u3053\u3067\u9593\u9055\u3048\u3066\u306f\u3044\u3051\u306a\u3044\u306e\u304c\u3001Flux\u3092\u5c0e\u5165\u3059\u308b=\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f5c\u308a\u65b9\u304c\u5927\u304d\u304f\u5909\u308f\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u3001\u3068\u3044\u3046\u4e8b\u3067\u3059\u3002Flux\u306f\u3001\u3042\u304f\u307e\u3067\u30c7\u30fc\u30bf\u30d5\u30ed\u30fc\u3068\u30c7\u30fc\u30bf\u306e\u66f4\u65b0\u30ed\u30b8\u30c3\u30af\u306e\u6240\u5728\u3092\u660e\u78ba\u306b\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002<\/p>\n<h2><span id=\"3_Redux\">3. Redux\u3068\u306f<\/span><\/h2>\n<p>Flux\u304b\u3089\u6d3e\u751f\u3057\u305f\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30b9\u30bf\u30a4\u30eb\u3067\u3001Flux\u306e\u6982\u5ff5\u306b\u5247\u3063\u3066\u958b\u767a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-3414\" src=\"http:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-24-at-19.05.05.png\" alt=\"\" width=\"949\" height=\"737\" srcset=\"https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-24-at-19.05.05.png 949w, https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-24-at-19.05.05-300x233.png 300w, https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2017\/07\/Screen-Shot-2017-07-24-at-19.05.05-768x596.png 768w\" sizes=\"(max-width: 949px) 100vw, 949px\" \/><\/p>\n<p>\u7279\u5fb4\u3068\u3057\u3066\u306f<\/p>\n<p>&#8211; Redux\u306b\u306fdispatcher\u304c\u306a\u3044\u3002(\u4e0a\u56f3\u306eReducer\u3067\u62c5\u3046)<\/p>\n<p>Redux\u306b\u306f<a href=\"https:\/\/github.com\/reactjs\/redux\/blob\/master\/docs\/introduction\/ThreePrinciples.md\" target=\"_blank\" rel=\"noopener noreferrer\">\uff13\u539f\u5247<\/a>\u304c\u3042\u308b\u304c\u3001\u306a\u305c\u3053\u308c\u304c\u3042\u308b\u306e\u304b\u305d\u308c\u305e\u308c\u8aac\u660e\u3057\u3066\u307f\u308b\u3002<\/p>\n<p>&#8211;\u00a0Single source of truth\uff1a1\u3064\u3060\u3051\u306e\u30c7\u30fc\u30bf\u3068\u6c7a\u307e\u3063\u3066\u3044\u308b\u70ba\u3001\u6c4e\u7528\u7684\u306aRedux DevTool\u306e\u3088\u3046\u306a\u30c4\u30fc\u30eb\u304c\u8a2d\u5b9a\u306a\u3057\u3067\u3059\u3050\u306b\u4f7f\u3048\u308b\u3002<\/p>\n<p>&#8211;\u00a0State is read-only\uff1a\u4e00\u8a00\u3067\u8a00\u3046\u3068\u3001\u8aad\u307f\u53d6\u308a\u306e\u307f\u3002\u5024\u304c\u540c\u3058\u3067\u3042\u308c\u3070\u540c\u3058\u5185\u5bb9\u3067\u3042\u308b\u3053\u3068\u304c\u4fdd\u8a3c\u3055\u308c\u308b\uff08\u540c\u3058\u5024\u3067\u914d\u5217\u306e\u5185\u5bb9\u304c\u9055\u3046\u3068\u3044\u3046\u3053\u3068\u304c\u306a\u3044\u70ba\uff09\u3002redux\u306e\u5834\u5408\u3001reducer\u3092\u7d4c\u7531\u3059\u308b\u3002\u305d\u306eReducer\u3092\u898b\u308c\u3070\u3001\u3069\u306eAction\u3067\u3069\u306e\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u5909\u3048\u3066\u3044\u308b\u304b\u304c\u3072\u3068\u76ee\u3067\u308f\u304b\u308b\u3002Redux DevTool\u3092\u4f7f\u3046\u4e8b\u3067\u3001\u5404\u30a2\u30af\u30b7\u30e7\u30f3\u3054\u3068\u306estate\u306e\u5909\u5316\u3082\u898b\u308c\u308b\u70ba\u4f55\u304c\u539f\u56e0\u3067\u30d0\u30b0\u304c\u8d77\u3053\u3063\u305f\u304b\u3092\u30ed\u30b0\u304b\u3089\u8ffd\u3046\u3053\u3068\u3082\u53ef\u80fd\u3002<\/p>\n<p>&#8211;\u00a0Mutations are written as pure functions\uff1aaction\u304cstate\u3092\u5909\u66f4\u3059\u308b\u969b\u306breducer\u3092\u901a\u3057\u3066\u884c\u3046\u3002reducer\u306faction\u3068state\u3092\u53d7\u3051\u53d6\u308a\u3001\u65b0\u3057\u3044state\u3092\u8fd4\u3059\uff08\uff1dpure\u306a\u95a2\u6570\u3068\u306a\u308b\uff09\u3002<\/p>\n<p>\u4eca\u56de\u306fReact.js\u306e\u8868\u5411\u304d\u306e\u4ed5\u7d44\u307f\u3060\u3051\u7c21\u6613\u7684\u306b\u8aac\u660e\u3057\u307e\u3057\u305f\u3002\u6b21\u56de\u306f\u5b9f\u969b\u306bReact.js\u3092\u5b9f\u88c5\u3057\u3001\u3069\u3093\u306a\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308b\u306e\u304b\u3092\u691c\u8a3c\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n<h2><span id=\"4\">4. \u30d9\u30c8\u30ca\u30e0\u3067\u30aa\u30d5\u30b7\u30e7\u30a2\u958b\u767a\u3092\u3059\u308b\u306a\u3089\u30d0\u30a4\u30bf\u30ea\u30d5\u30a3\u3078<\/span><\/h2>\n<p>\u30d9\u30c8\u30ca\u30e0\u3067\u958b\u767a\u3092\u3057\u3066\u307f\u305f\u3044\u3051\u3069\u300c\u958b\u767a\u306e\u7d4c\u9a13\u304c\u306a\u304f\u3066\u3042\u307e\u308a\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u76f8\u8ac7\u3057\u305f\u3044\u300d\u3068\u3044\u3046\u5834\u5408\u306f\u3001\u305c\u3072\u5f0a\u793e\u3078\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002<br \/>\n<a href=\"http:\/\/vitalify.jp\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30d0\u30a4\u30bf\u30ea\u30d5\u30a3<\/a>\u30fb<a href=\"http:\/\/vitalify.asia\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30d0\u30a4\u30bf\u30ea\u30d5\u30a3\u30a2\u30a2\u30b8\u30a2<\/a>\u3067\u306f\u3001\u30db\u30fc\u30c1\u30df\u30f3\u30672008\u5e74\u304b\u308910\u5e74\u8d85\u306e\u30aa\u30d5\u30b7\u30e7\u30a2\u958b\u767a\u7d4c\u9a13\u3068\u5b9f\u7e3e\u3092\u6d3b\u304b\u3057\u3001\u512a\u79c0\u306a\u30d9\u30c8\u30ca\u30e0\u4eba\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u6d3b\u7528\u3057\u305f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\uff65\u30b5\u30fc\u30d3\u30b9\u958b\u767a\/\u4fdd\u5b88\u904b\u55b6\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u5f53\u793e\u306f\u3001\u30d9\u30c8\u30ca\u30e0\u306b\u5b50\u4f1a\u793e\uff08\u30d0\u30a4\u30bf\u30ea\u30d5\u30a3\u30a2\u30b8\u30a2\u30fb\u30b9\u30af\u30fc\u30c6\u30a3\u30fc\uff09\u3092\u8a2d\u7acb\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u30d0\u30a4\u30bf\u30ea\u30d5\u30a3\u30a2\u30b8\u30a2\u30fb\u30b9\u30af\u30fc\u30c6\u30a3\u30fc\u3067\u306f\u3001\u5f53\u793e\u3067\u53d7\u3051\u305f\u6848\u4ef6\u306e\u958b\u767a\u90e8\u5206\u3092\u30d9\u30c8\u30ca\u30e0\u62e0\u70b9\u306b\u4f9d\u983c\u3059\u308b\u3088\u3046\u306a\u30aa\u30d5\u30b7\u30e7\u30a2\u958b\u767a\u3067\u306f\u306a\u304f\u3001\u304a\u5ba2\u69d8\u304c\u30d9\u30c8\u30ca\u30e0\u62e0\u70b9\u3068\u76f4\u63a5\u95a2\u308f\u308a\u3001\u6848\u4ef6\u9032\u884c\u3057\u3066\u9802\u304f\u4e8b\u306b\u3088\u308a\u30b3\u30b9\u30c8\u3092\u6291\u3048\u305f\u30ea\u30bd\u30fc\u30b9\u63d0\u4f9b\u3092\u53ef\u80fd\u306b\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u304a\u5ba2\u69d8\u306e\u5c02\u5c5e\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u30d9\u30c8\u30ca\u30e0\u306b\u3082\u3063\u3066\u9802\u304f\u3088\u3046\u306a\u30a4\u30e1\u30fc\u30b8\u3067\u306e\u958b\u767a\u304c\u53ef\u80fd\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u300c\u3069\u306e\u3088\u3046\u306a\u30c1\u30fc\u30e0\u3067\u3001\u3069\u3093\u306a\u98a8\u306b\u958b\u767a\u3092\u9032\u3081\u308c\u3070\u826f\u3044\u306e\u304b\u308f\u304b\u3089\u306a\u3044&#8230;\u300d\u3068\u8ff7\u3063\u3066\u3044\u308b\u5834\u5408\u306b\u3082\u4e00\u5ea6<a href=\"https:\/\/vitalify.jp\/contact\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u304a\u6c17\u8efd\u306b\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002<\/a><br \/>\n\u5f53\u793e\u3067\u53d7\u8a17\u3059\u308b\u306e\u304c\u3088\u3044\u306e\u304b\u3001\u30d0\u30a4\u30bf\u30ea\u30d5\u30a3\u30a2\u30b8\u30a2\u3078\u304a\u7e4b\u304e\u3059\u308b\u306e\u304c\u3088\u3044\u306e\u304b\u3001\u304a\u5ba2\u69d8\u306b\u3068\u3063\u3066\u9069\u5207\u306a\u958b\u767a\u4f53\u5236\u3092\u3054\u63d0\u6848\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/vitalify.jp\/vietnam_offshore\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"alignnone size-full wp-image-8638\" src=\"https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2019\/09\/bannerOffshorePc.png\" alt=\"\u30d9\u30c8\u30ca\u30e0\u30aa\u30d5\u30b7\u30e7\u30a2\u306a\u3089\u30d0\u30a4\u30bf\u30ea\u30d5\u30a3\u3078\" width=\"489\" height=\"100\" srcset=\"https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2019\/09\/bannerOffshorePc.png 489w, https:\/\/vitalify.jp\/app-lab\/wp-content\/uploads\/2019\/09\/bannerOffshorePc-300x61.png 300w\" sizes=\"(max-width: 489px) 100vw, 489px\" \/><\/a><br \/>\n\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u521d\u3081\u307e\u3057\u3066\u3001vitalify.asia\u65b0\u5352\u5165\u793e3\u30f6\u6708\u76ee\uff06IT\u7d4c\u9a133\u30f6\u6708\u76ee\u306e\u5c0f\u6797\u3067\u3059\u3002\u5148\u65e5\u306e\u6295\u7a3f\u3067React.js\u306e\u7d4c\u9a13\u304c\u3042\u308bCV\u304c\u305f\u304f\u3055\u3093\u5c4a\u3044\u3066\u3044\u305f\u4e8b\u3092\u77e5\u308a\u3001\u8208\u5473\u3092\u6301\u3063\u305f\u306e\u3067React.js\u306b\u3064\u3044\u3066\u77e5 &#8230; <\/p>\n","protected":false},"author":7,"featured_media":3415,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[311,317,406,407,408,9,292,297,298],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/vitalify.jp\/app-lab\/wp-json\/wp\/v2\/posts\/3308"}],"collection":[{"href":"https:\/\/vitalify.jp\/app-lab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vitalify.jp\/app-lab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vitalify.jp\/app-lab\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/vitalify.jp\/app-lab\/wp-json\/wp\/v2\/comments?post=3308"}],"version-history":[{"count":25,"href":"https:\/\/vitalify.jp\/app-lab\/wp-json\/wp\/v2\/posts\/3308\/revisions"}],"predecessor-version":[{"id":9230,"href":"https:\/\/vitalify.jp\/app-lab\/wp-json\/wp\/v2\/posts\/3308\/revisions\/9230"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vitalify.jp\/app-lab\/wp-json\/wp\/v2\/media\/3415"}],"wp:attachment":[{"href":"https:\/\/vitalify.jp\/app-lab\/wp-json\/wp\/v2\/media?parent=3308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vitalify.jp\/app-lab\/wp-json\/wp\/v2\/categories?post=3308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vitalify.jp\/app-lab\/wp-json\/wp\/v2\/tags?post=3308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}