{"id":1543,"date":"2017-04-13T11:44:59","date_gmt":"2017-04-13T02:44:59","guid":{"rendered":"http:\/\/lovelinux.mydns.jp\/?p=1543"},"modified":"2017-04-13T11:44:59","modified_gmt":"2017-04-13T02:44:59","slug":"rails%e3%81%a7reactjs%e3%82%92%e4%bd%bf%e3%81%86%e3%80%9c%e6%ba%96%e5%82%99%e7%b7%a8-2","status":"publish","type":"post","link":"https:\/\/lovelinux.mydns.jp\/?p=1543","title":{"rendered":"Rails\u3067ReactJS\u3092\u4f7f\u3046\u301c\u6e96\u5099\u7de8"},"content":{"rendered":"<p>Rails\u3067ReactJS\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u3044\u3046\u4f01\u753b\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u3066\u307f\u307e\u3059\u3002<br \/>\n\u307e\u305a\u306fRails\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u3001ReactJS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001HelloWorld\u3092\u51fa\u529b\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u306e\u6e96\u5099\u7de8\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u304b\u3089\u4f55\u56de\u304b\u306b\u308f\u305f\u308a\u9023\u8f09\u3059\u308b\u5185\u5bb9\u306fGitHub\u306e\u4e0b\u8a18\u306eURL\u3067\u516c\u958b\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/github.com\/h-mito\/rails_with_react\">https:\/\/github.com\/h-mito\/rails_with_react<\/a><\/p>\n<h3>Rails\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\u3001ReactJS\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>[bash]<br \/>\n$ cd<br \/>\n$ cd workspace<\/p>\n<p>$ rails new rails_with_react<br \/>\n$ cd rails_with_react<\/p>\n<p>$ nano Gemfile<br \/>\n[\/bash]<\/p>\n<p>\u672b\u5c3e\u306b1\u884c\u8ffd\u52a0\u3059\u308b<br \/>\n[bash]<br \/>\n# &#8230;\u7701\u7565<br \/>\ngem &#8216;react-rails&#8217;, &#8216;~> 1.0&#8217; # \u8ffd\u52a0\u3059\u308b<br \/>\n[\/bash]<\/p>\n<p>react-rails\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u7d44\u307f\u8fbc\u3080<br \/>\n[bash]<br \/>\n$ bundle install<\/p>\n<p>$ rails g react:install<br \/>\n[\/bash]<\/p>\n<h3>React\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f5c\u6210\u3001Hello World\u4f5c\u6210<\/h3>\n<p>[bash]<br \/>\n$ rails g react:component FirstTest<br \/>\n[\/bash]<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30bd\u30fc\u30b9\u304capp\/assets\/javascripts\/components\u306b\u751f\u6210\u3055\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>[bash]<br \/>\nvar FirstTest = React.createClass({<\/p>\n<p>  render: function() {<br \/>\n    return <\/p>\n<div \/>;<br \/>\n  }<br \/>\n});<br \/>\n[\/bash]<\/p>\n<p>\u3053\u308c\u3067\u3082\u554f\u984c\u306a\u3044\u306e\u3067\u3059\u304c\u3001ReactJS\u672c\u5bb6\u306e Get Started\u98a8\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<br \/>\n\u3067\u3001render\u30e1\u30bd\u30c3\u30c9\u306b Hello World\u306e\u51fa\u529b\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>[bash]<br \/>\nclass FirstTest extends React.Component{<br \/>\n  constructor(props){<br \/>\n    super(props);<br \/>\n  }<\/p>\n<p>  render(){<br \/>\n    return (<\/p>\n<h2>Hello World!<\/h2>\n<p>    );<br \/>\n  }<br \/>\n}<br \/>\n[\/bash]<\/p>\n<h3>\u30c6\u30b9\u30c8\u7528\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u4f5c\u6210<\/h3>\n<p>[bash]<br \/>\n$ rails g controller first index<br \/>\n[\/bash]<\/p>\n<h3>React\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u51fa\u529b<\/h3>\n<p>views\u306b\u51fa\u6765\u4e0a\u304c\u3063\u305f\u30d3\u30e5\u30fc\u306b\u5148\u307b\u3069\u4f5c\u3063\u305fReact\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u51fa\u529b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>[bash]<\/p>\n<h1>First#index<\/h1>\n<p>Find me in app\/views\/first\/index.html.erb<\/p>\n<p><%= react_component('FirstTest') %><br \/>\n[\/bash]<\/p>\n<h3>\u52d5\u4f5c\u78ba\u8a8d<\/h3>\n<p>[bash]<br \/>\n$rails s<br \/>\n[\/bash]<\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u30fc\u3067 \u4ee5\u4e0b\u306eURL\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u753b\u50cf\u304c\u51fa\u308c\u3070\u6210\u529f\u3002<\/p>\n<p>localhost:3000\/first\/index<\/p>\n<p><a href=\"http:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2017\/04\/react5.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2017\/04\/react5.png\" alt=\"react5\" width=\"525\" height=\"258\" class=\"alignnone size-full wp-image-1346\" srcset=\"https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2017\/04\/react5.png 525w, https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2017\/04\/react5-300x147.png 300w, https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2017\/04\/react5-239x118.png 239w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Rails\u3067ReactJS\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u3044\u3046\u4f01\u753b\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u3066\u307f\u307e\u3059\u3002 \u307e\u305a\u306fRails\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u3001ReactJS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001HelloWorld\u3092\u51fa\u529b\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u306e\u6e96\u5099\u7de8\u3067\u3059\u3002 \u3053\u308c\u304b\u3089\u4f55\u56de\u304b\u306b\u308f\u305f\u308a\u9023\u8f09\u3059\u308b\u5185\u5bb9\u306fGitHub\u306e\u4e0b\u8a18\u306eURL\u3067\u516c\u958b\u3057\u3066\u3044\u307e\u3059\u3002 https:\/\/github.com\/h-mito\/rails_with_react Rails\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\u3001ReactJS\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb [bash] $ cd $ cd workspace $ rails new rails_with_react $ cd rails_with_react $ nano Gemfile [\/bash] \u672b\u5c3e\u306b1\u884c\u8ffd\u52a0\u3059\u308b [bash] # &#8230;\u7701\u7565 gem &#8216;react-rails&#8217;, &#8216;~> 1.0&#8217; # \u8ffd\u52a0\u3059\u308b [\/bash] react-rails\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u7d44\u307f\u8fbc\u3080 [bash] $ bundle install $ rails g react:install [\/bash] React\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f5c\u6210\u3001Hello World\u4f5c\u6210 [bash] $ rails g react:component FirstTest [\/bash] \u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30bd\u30fc\u30b9\u304capp\/assets\/javascripts\/components\u306b\u751f\u6210\u3055\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u3002 [bash] var FirstTest = React.createClass({ render: function() { return ; } }); [\/bash] \u3053\u308c\u3067\u3082\u554f\u984c\u306a\u3044\u306e\u3067\u3059\u304c\u3001ReactJS\u672c\u5bb6\u306e Get Started\u98a8\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u307e\u3059\u3002 \u3067\u3001render\u30e1\u30bd\u30c3\u30c9\u306b Hello World\u306e\u51fa\u529b\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002 [bash] class FirstTest extends React.Component{ constructor(props){ super(props); } render(){ return ( Hello World! ); } } [\/bash] \u30c6\u30b9\u30c8\u7528\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u4f5c\u6210 [bash] $ rails g controller first index [\/bash] React\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u51fa\u529b views\u306b\u51fa\u6765\u4e0a\u304c\u3063\u305f\u30d3\u30e5\u30fc\u306b\u5148\u307b\u3069\u4f5c\u3063\u305fReact\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u51fa\u529b\u3057\u3066\u307f\u307e\u3059\u3002 [bash] First#index Find me in app\/views\/first\/index.html.erb [\/bash] \u52d5\u4f5c\u78ba\u8a8d [bash] $rails s [\/bash] \u30d6\u30e9\u30a6\u30b6\u30fc\u3067 \u4ee5\u4e0b\u306eURL\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u753b\u50cf\u304c\u51fa\u308c\u3070\u6210\u529f\u3002 localhost:3000\/first\/index<\/p>\n","protected":false},"author":1,"featured_media":1339,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[6,77],"tags":[71,72],"class_list":{"0":"post-1543","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-rails","8":"category-react","9":"tag-rails","10":"tag-reactjs"},"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Rails\u3067ReactJS\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u3044\u3046\u4f01\u753b\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u3066\u307f\u307e\u3059\u3002 \u307e\u305a\u306fRails\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u3001ReactJS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001HelloWorld\u3092\u51fa\u529b\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u306e\u6e96\u5099\u7de8\u3067\u3059\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"hiroshi\"\/>\n\t<meta name=\"google-site-verification\" content=\"fo5n0bjUdcitu1FsBTJqqwL580wBLhhCM51IEogDt9Y\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/lovelinux.mydns.jp\/?p=1543\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Love Linux | enjoy using linux for programming flatform\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Rails\u3067ReactJS\u3092\u4f7f\u3046\u301c\u6e96\u5099\u7de8\" \/>\n\t\t<meta property=\"og:description\" content=\"Rails\u3067ReactJS\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u3044\u3046\u4f01\u753b\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u3066\u307f\u307e\u3059\u3002 \u307e\u305a\u306fRails\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u3001ReactJS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001HelloWorld\u3092\u51fa\u529b\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u306e\u6e96\u5099\u7de8\u3067\u3059\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/lovelinux.mydns.jp\/?p=1543\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2017-04-13T02:44:59+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2017-04-13T02:44:59+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Rails\u3067ReactJS\u3092\u4f7f\u3046\u301c\u6e96\u5099\u7de8\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Rails\u3067ReactJS\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u3044\u3046\u4f01\u753b\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u3066\u307f\u307e\u3059\u3002 \u307e\u305a\u306fRails\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u3001ReactJS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001HelloWorld\u3092\u51fa\u529b\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u306e\u6e96\u5099\u7de8\u3067\u3059\u3002\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1543#article\",\"name\":\"Rails\\u3067ReactJS\\u3092\\u4f7f\\u3046\\u301c\\u6e96\\u5099\\u7de8\",\"headline\":\"Rails\\u3067ReactJS\\u3092\\u4f7f\\u3046\\u301c\\u6e96\\u5099\\u7de8\",\"author\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/react4.png\",\"width\":774,\"height\":236},\"datePublished\":\"2017-04-13T11:44:59+09:00\",\"dateModified\":\"2017-04-13T11:44:59+09:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1543#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1543#webpage\"},\"articleSection\":\"rails, React, rails, reactjs\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1543#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/lovelinux.mydns.jp\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=2#listItem\",\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=2#listItem\",\"position\":2,\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\",\"item\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=2\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=6#listItem\",\"name\":\"rails\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=6#listItem\",\"position\":3,\"name\":\"rails\",\"item\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=6\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1543#listItem\",\"name\":\"Rails\\u3067ReactJS\\u3092\\u4f7f\\u3046\\u301c\\u6e96\\u5099\\u7de8\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=2#listItem\",\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1543#listItem\",\"position\":4,\"name\":\"Rails\\u3067ReactJS\\u3092\\u4f7f\\u3046\\u301c\\u6e96\\u5099\\u7de8\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=6#listItem\",\"name\":\"rails\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1\",\"name\":\"hiroshi\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1543#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e7c5ca03ae8cd5b5d36ac0f62f59c26d34fd667afa57dafb4978790c04c5146f?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"hiroshi\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1543#webpage\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1543\",\"name\":\"Rails\\u3067ReactJS\\u3092\\u4f7f\\u3046\\u301c\\u6e96\\u5099\\u7de8\",\"description\":\"Rails\\u3067ReactJS\\u3092\\u4f7f\\u3063\\u3066\\u307f\\u3088\\u3046\\u3068\\u3044\\u3046\\u4f01\\u753b\\u3092\\u30b9\\u30bf\\u30fc\\u30c8\\u3057\\u3066\\u307f\\u307e\\u3059\\u3002 \\u307e\\u305a\\u306fRails\\u306e\\u30d7\\u30ed\\u30b8\\u30a7\\u30af\\u30c8\\u3092\\u4f5c\\u3063\\u3066\\u3001ReactJS\\u3092\\u30a4\\u30f3\\u30b9\\u30c8\\u30fc\\u30eb\\u3057\\u3066\\u3001HelloWorld\\u3092\\u51fa\\u529b\\u3059\\u308b\\u3068\\u3053\\u308d\\u307e\\u3067\\u306e\\u6e96\\u5099\\u7de8\\u3067\\u3059\\u3002\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1543#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/wp-content\\\/uploads\\\/2017\\\/04\\\/react4.png\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1543\\\/#mainImage\",\"width\":774,\"height\":236},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=1543#mainImage\"},\"datePublished\":\"2017-04-13T11:44:59+09:00\",\"dateModified\":\"2017-04-13T11:44:59+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#website\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/\",\"name\":\"Love Linux\",\"description\":\"enjoy using linux for programming flatform\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Rails\u3067ReactJS\u3092\u4f7f\u3046\u301c\u6e96\u5099\u7de8","description":"Rails\u3067ReactJS\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u3044\u3046\u4f01\u753b\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u3066\u307f\u307e\u3059\u3002 \u307e\u305a\u306fRails\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u3001ReactJS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001HelloWorld\u3092\u51fa\u529b\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u306e\u6e96\u5099\u7de8\u3067\u3059\u3002","canonical_url":"https:\/\/lovelinux.mydns.jp\/?p=1543","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"fo5n0bjUdcitu1FsBTJqqwL580wBLhhCM51IEogDt9Y","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lovelinux.mydns.jp\/?p=1543#article","name":"Rails\u3067ReactJS\u3092\u4f7f\u3046\u301c\u6e96\u5099\u7de8","headline":"Rails\u3067ReactJS\u3092\u4f7f\u3046\u301c\u6e96\u5099\u7de8","author":{"@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author"},"publisher":{"@id":"https:\/\/lovelinux.mydns.jp\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2017\/04\/react4.png","width":774,"height":236},"datePublished":"2017-04-13T11:44:59+09:00","dateModified":"2017-04-13T11:44:59+09:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=1543#webpage"},"isPartOf":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=1543#webpage"},"articleSection":"rails, React, rails, reactjs"},{"@type":"BreadcrumbList","@id":"https:\/\/lovelinux.mydns.jp\/?p=1543#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp#listItem","position":1,"name":"Home","item":"https:\/\/lovelinux.mydns.jp","nextItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=2#listItem","name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"}},{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=2#listItem","position":2,"name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","item":"https:\/\/lovelinux.mydns.jp\/?cat=2","nextItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=6#listItem","name":"rails"},"previousItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=6#listItem","position":3,"name":"rails","item":"https:\/\/lovelinux.mydns.jp\/?cat=6","nextItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?p=1543#listItem","name":"Rails\u3067ReactJS\u3092\u4f7f\u3046\u301c\u6e96\u5099\u7de8"},"previousItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=2#listItem","name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"}},{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?p=1543#listItem","position":4,"name":"Rails\u3067ReactJS\u3092\u4f7f\u3046\u301c\u6e96\u5099\u7de8","previousItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=6#listItem","name":"rails"}}]},{"@type":"Person","@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author","url":"https:\/\/lovelinux.mydns.jp\/?author=1","name":"hiroshi","image":{"@type":"ImageObject","@id":"https:\/\/lovelinux.mydns.jp\/?p=1543#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e7c5ca03ae8cd5b5d36ac0f62f59c26d34fd667afa57dafb4978790c04c5146f?s=96&d=mm&r=g","width":96,"height":96,"caption":"hiroshi"}},{"@type":"WebPage","@id":"https:\/\/lovelinux.mydns.jp\/?p=1543#webpage","url":"https:\/\/lovelinux.mydns.jp\/?p=1543","name":"Rails\u3067ReactJS\u3092\u4f7f\u3046\u301c\u6e96\u5099\u7de8","description":"Rails\u3067ReactJS\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u3044\u3046\u4f01\u753b\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u3066\u307f\u307e\u3059\u3002 \u307e\u305a\u306fRails\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u3001ReactJS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001HelloWorld\u3092\u51fa\u529b\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u306e\u6e96\u5099\u7de8\u3067\u3059\u3002","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/lovelinux.mydns.jp\/#website"},"breadcrumb":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=1543#breadcrumblist"},"author":{"@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author"},"creator":{"@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2017\/04\/react4.png","@id":"https:\/\/lovelinux.mydns.jp\/?p=1543\/#mainImage","width":774,"height":236},"primaryImageOfPage":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=1543#mainImage"},"datePublished":"2017-04-13T11:44:59+09:00","dateModified":"2017-04-13T11:44:59+09:00"},{"@type":"WebSite","@id":"https:\/\/lovelinux.mydns.jp\/#website","url":"https:\/\/lovelinux.mydns.jp\/","name":"Love Linux","description":"enjoy using linux for programming flatform","inLanguage":"en-GB","publisher":{"@id":"https:\/\/lovelinux.mydns.jp\/#person"}}]},"og:locale":"en_GB","og:site_name":"Love Linux | enjoy using linux for programming flatform","og:type":"article","og:title":"Rails\u3067ReactJS\u3092\u4f7f\u3046\u301c\u6e96\u5099\u7de8","og:description":"Rails\u3067ReactJS\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u3044\u3046\u4f01\u753b\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u3066\u307f\u307e\u3059\u3002 \u307e\u305a\u306fRails\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u3001ReactJS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001HelloWorld\u3092\u51fa\u529b\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u306e\u6e96\u5099\u7de8\u3067\u3059\u3002","og:url":"https:\/\/lovelinux.mydns.jp\/?p=1543","article:published_time":"2017-04-13T02:44:59+00:00","article:modified_time":"2017-04-13T02:44:59+00:00","twitter:card":"summary_large_image","twitter:title":"Rails\u3067ReactJS\u3092\u4f7f\u3046\u301c\u6e96\u5099\u7de8","twitter:description":"Rails\u3067ReactJS\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u3044\u3046\u4f01\u753b\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u3066\u307f\u307e\u3059\u3002 \u307e\u305a\u306fRails\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u3001ReactJS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001HelloWorld\u3092\u51fa\u529b\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u306e\u6e96\u5099\u7de8\u3067\u3059\u3002"},"aioseo_meta_data":{"post_id":"1543","title":"Rails\u3067ReactJS\u3092\u4f7f\u3046\u301c\u6e96\u5099\u7de8","description":"Rails\u3067ReactJS\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\u3068\u3044\u3046\u4f01\u753b\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u3066\u307f\u307e\u3059\u3002\r\n\u307e\u305a\u306fRails\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u3066\u3001ReactJS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001HelloWorld\u3092\u51fa\u529b\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u306e\u6e96\u5099\u7de8\u3067\u3059\u3002","keywords":[{"label":"react","value":"react"},{"label":"rails","value":"rails"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-08-25 09:15:01","updated":"2025-08-25 11:22:05","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/lovelinux.mydns.jp\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/lovelinux.mydns.jp\/?cat=2\" title=\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\">\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/lovelinux.mydns.jp\/?cat=6\" title=\"rails\">rails<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tRails\u3067ReactJS\u3092\u4f7f\u3046\u301c\u6e96\u5099\u7de8\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/lovelinux.mydns.jp"},{"label":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","link":"https:\/\/lovelinux.mydns.jp\/?cat=2"},{"label":"rails","link":"https:\/\/lovelinux.mydns.jp\/?cat=6"},{"label":"Rails\u3067ReactJS\u3092\u4f7f\u3046\u301c\u6e96\u5099\u7de8","link":"https:\/\/lovelinux.mydns.jp\/?p=1543"}],"_links":{"self":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/1543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1543"}],"version-history":[{"count":1,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/1543\/revisions"}],"predecessor-version":[{"id":1544,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/1543\/revisions\/1544"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/media\/1339"}],"wp:attachment":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}