{"action":"created","issue":{"url":"https://api.github.com/repos/reactjs/react-rails/issues/232","labels_url":"https://api.github.com/repos/reactjs/react-rails/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-rails/issues/232/comments","events_url":"https://api.github.com/repos/reactjs/react-rails/issues/232/events","html_url":"https://github.com/reactjs/react-rails/issues/232","id":66278295,"number":232,"title":"JSX files loaded via javascript_include_tag are not pre-rendered","user":{"login":"blarralde","id":728046,"avatar_url":"https://avatars.githubusercontent.com/u/728046?v=3","gravatar_id":"","url":"https://api.github.com/users/blarralde","html_url":"https://github.com/blarralde","followers_url":"https://api.github.com/users/blarralde/followers","following_url":"https://api.github.com/users/blarralde/following{/other_user}","gists_url":"https://api.github.com/users/blarralde/gists{/gist_id}","starred_url":"https://api.github.com/users/blarralde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blarralde/subscriptions","organizations_url":"https://api.github.com/users/blarralde/orgs","repos_url":"https://api.github.com/users/blarralde/repos","events_url":"https://api.github.com/users/blarralde/events{/privacy}","received_events_url":"https://api.github.com/users/blarralde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-04T05:23:47Z","updated_at":"2015-04-06T21:12:11Z","closed_at":null,"body":"They don't get rendered when included separately via `javascript_include_tag`, but they do when part of `application.js`.\r\n\r\nI'm using react-rails 0.13 and rails 4.2.1."},"comment":{"url":"https://api.github.com/repos/reactjs/react-rails/issues/comments/90246065","html_url":"https://github.com/reactjs/react-rails/issues/232#issuecomment-90246065","issue_url":"https://api.github.com/repos/reactjs/react-rails/issues/232","id":90246065,"user":{"login":"rmosolgo","id":2231765,"avatar_url":"https://avatars.githubusercontent.com/u/2231765?v=3","gravatar_id":"","url":"https://api.github.com/users/rmosolgo","html_url":"https://github.com/rmosolgo","followers_url":"https://api.github.com/users/rmosolgo/followers","following_url":"https://api.github.com/users/rmosolgo/following{/other_user}","gists_url":"https://api.github.com/users/rmosolgo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmosolgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmosolgo/subscriptions","organizations_url":"https://api.github.com/users/rmosolgo/orgs","repos_url":"https://api.github.com/users/rmosolgo/repos","events_url":"https://api.github.com/users/rmosolgo/events{/privacy}","received_events_url":"https://api.github.com/users/rmosolgo/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T21:12:10Z","updated_at":"2015-04-06T21:12:10Z","body":"How weird! I'm not sure either. Is there any error in the JS console when this happens?\r\n\r\nSome things I could imagine: \r\n\r\n- Load order issues, eg no `React` when your component is defined \r\n- Page event issues, eg your component isn't defined at the time react-rails tries to mount components. This could be especially true if you're using Turbolinks, for example, see: https://github.com/rails/turbolinks/pull/438\r\n\r\nTo troubleshoot further, please share these files (or variations which reproduce the issue): \r\n- application.js\r\n- application template \r\n- component js \r\n- example page where component fails to load \r\n\r\nthat would help diagnose any of the possibilities above"}}