{"action":"opened","issue":{"url":"https://api.github.com/repos/yahoo/fluxible.io/issues/148","labels_url":"https://api.github.com/repos/yahoo/fluxible.io/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/fluxible.io/issues/148/comments","events_url":"https://api.github.com/repos/yahoo/fluxible.io/issues/148/events","html_url":"https://github.com/yahoo/fluxible.io/issues/148","id":114947541,"number":148,"title":"Components documentation mixes es6 style","user":{"login":"mypark","id":470164,"avatar_url":"https://avatars.githubusercontent.com/u/470164?v=3","gravatar_id":"","url":"https://api.github.com/users/mypark","html_url":"https://github.com/mypark","followers_url":"https://api.github.com/users/mypark/followers","following_url":"https://api.github.com/users/mypark/following{/other_user}","gists_url":"https://api.github.com/users/mypark/gists{/gist_id}","starred_url":"https://api.github.com/users/mypark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mypark/subscriptions","organizations_url":"https://api.github.com/users/mypark/orgs","repos_url":"https://api.github.com/users/mypark/repos","events_url":"https://api.github.com/users/mypark/events{/privacy}","received_events_url":"https://api.github.com/users/mypark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-04T01:19:18Z","updated_at":"2015-11-04T01:19:18Z","closed_at":null,"body":"Not sure if the example in http://fluxible.io/api/components.html, \"Accessing Stores\" is correct.\r\n\r\nIf I try to declare getInitialState() with the ES6 class style, I get a warning and error.\r\n\r\n```\r\nWarning: getInitialState was defined on SearchResults,\r\na plain JavaScript class. This is only supported for \r\nclasses created using React.createClass. Did you mean \r\nto define a state property instead?\r\n```\r\n\r\nhttp://stackoverflow.com/questions/33510553/error-trying-to-declare-my-fluxible-react-js-component-in-an-es6-class/33510703#33510703\r\n\r\nIs the example incorrect?\r\n"}}