{"action":"created","issue":{"url":"https://api.github.com/repos/reactjs/react-rails/issues/876","repository_url":"https://api.github.com/repos/reactjs/react-rails","labels_url":"https://api.github.com/repos/reactjs/react-rails/issues/876/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-rails/issues/876/comments","events_url":"https://api.github.com/repos/reactjs/react-rails/issues/876/events","html_url":"https://github.com/reactjs/react-rails/issues/876","id":298384424,"number":876,"title":"Using Pure Component","user":{"login":"vipulvkp","id":15338098,"avatar_url":"https://avatars3.githubusercontent.com/u/15338098?v=4","gravatar_id":"","url":"https://api.github.com/users/vipulvkp","html_url":"https://github.com/vipulvkp","followers_url":"https://api.github.com/users/vipulvkp/followers","following_url":"https://api.github.com/users/vipulvkp/following{/other_user}","gists_url":"https://api.github.com/users/vipulvkp/gists{/gist_id}","starred_url":"https://api.github.com/users/vipulvkp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vipulvkp/subscriptions","organizations_url":"https://api.github.com/users/vipulvkp/orgs","repos_url":"https://api.github.com/users/vipulvkp/repos","events_url":"https://api.github.com/users/vipulvkp/events{/privacy}","received_events_url":"https://api.github.com/users/vipulvkp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-02-19T19:48:20Z","updated_at":"2018-02-20T10:58:05Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI have been using react-rails gem from some of my project and it really worked out well.\r\n\r\nRecently, I came across the concept of Pure components in reactjs. \r\nBut when I try to make my component pure using the below statement, it does not work \r\n\r\n`var MyComponent = React.createPureClass`\r\n\r\nIt says createPureClass not a function. What is the way to make pure components with this gem.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/reactjs/react-rails/issues/comments/366941548","html_url":"https://github.com/reactjs/react-rails/issues/876#issuecomment-366941548","issue_url":"https://api.github.com/repos/reactjs/react-rails/issues/876","id":366941548,"user":{"login":"BookOfGreg","id":637868,"avatar_url":"https://avatars3.githubusercontent.com/u/637868?v=4","gravatar_id":"","url":"https://api.github.com/users/BookOfGreg","html_url":"https://github.com/BookOfGreg","followers_url":"https://api.github.com/users/BookOfGreg/followers","following_url":"https://api.github.com/users/BookOfGreg/following{/other_user}","gists_url":"https://api.github.com/users/BookOfGreg/gists{/gist_id}","starred_url":"https://api.github.com/users/BookOfGreg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BookOfGreg/subscriptions","organizations_url":"https://api.github.com/users/BookOfGreg/orgs","repos_url":"https://api.github.com/users/BookOfGreg/repos","events_url":"https://api.github.com/users/BookOfGreg/events{/privacy}","received_events_url":"https://api.github.com/users/BookOfGreg/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T10:58:05Z","updated_at":"2018-02-20T10:58:05Z","author_association":"MEMBER","body":"The opposite, you absolutely can create Pure Components in react-rails, just you must be using ES6 and Sprockets doesn't have that as far as I know.\r\nIt works if you're using react-rails with Webpacker."}}
{"actor":{"display_login":"BookOfGreg"}}