{"action":"created","issue":{"url":"https://api.github.com/repos/acdlite/flummox/issues/202","labels_url":"https://api.github.com/repos/acdlite/flummox/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/acdlite/flummox/issues/202/comments","events_url":"https://api.github.com/repos/acdlite/flummox/issues/202/events","html_url":"https://github.com/acdlite/flummox/issues/202","id":81710457,"number":202,"title":"FluxComponent is not recognized as React component","user":{"login":"jimzhan","id":460877,"avatar_url":"https://avatars.githubusercontent.com/u/460877?v=3","gravatar_id":"","url":"https://api.github.com/users/jimzhan","html_url":"https://github.com/jimzhan","followers_url":"https://api.github.com/users/jimzhan/followers","following_url":"https://api.github.com/users/jimzhan/following{/other_user}","gists_url":"https://api.github.com/users/jimzhan/gists{/gist_id}","starred_url":"https://api.github.com/users/jimzhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimzhan/subscriptions","organizations_url":"https://api.github.com/users/jimzhan/orgs","repos_url":"https://api.github.com/users/jimzhan/repos","events_url":"https://api.github.com/users/jimzhan/events{/privacy}","received_events_url":"https://api.github.com/users/jimzhan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-28T01:53:42Z","updated_at":"2015-06-01T17:48:41Z","closed_at":"2015-06-01T17:48:41Z","body":"```javascript\r\nconst routes = (\r\n  <Route name=\"app\" handler={Main} path=\"/\">\r\n    <DefaultRoute name=\"home\" handler={Home} />\r\n    <Route name=\"about\" path=\"/about\" handler={About} />\r\n  </Route>\r\n);\r\n\r\nconst router = Router.create({\r\n  routes: routes,\r\n  location: Router.HistoryLocation\r\n});\r\n\r\n\r\nrouter.run((Handler, state) => {\r\n  React.render(\r\n    <FluxComponent flux={flux}>\r\n      <Handler {...state} />\r\n    </FluxComponent>,\r\n    document.body\r\n  );\r\n});\r\n```\r\n\r\n```javascript\r\nwarning.js:48 Warning: React.createElement: type should not be null or undefined. It should be a string (for DOM elements) or a ReactClass (for composite components).\r\n2015-05-28 09:40:52.870 warning.js:48 Warning: Only functions or strings can be mounted as React components.\r\n2015-05-28 09:40:52.871 ReactDefaultInjection.js:53 Uncaught TypeError: Cannot read property 'toUpperCase' of undefined\r\n```\r\n\r\nReact: 0.13.3\r\nFlummox: 3.5.2\r\n\r\nMeanwhile, may I suggest that we keep the docs in sync in detail, or better yet, remove the duplicated/misleading variable/definitions, e.g. \r\n\r\n```javascript\r\nimport {Flux} from 'flummox';\r\n// is exactly same thing as\r\nimport {Flummox} from 'flummox';\r\n```\r\n\r\n```javascript\r\nconst actions = flux.getActions('SomeDomain');\r\nthis.register(actions.doSomething, this.onDoSomething);\r\n\r\n// is exactly same as\r\n\r\nconst actionIds = flux.getActionIds('SomeDomain');\r\nthis.register(actionIds.doSomething, this.onDoSomething);\r\n```"},"comment":{"url":"https://api.github.com/repos/acdlite/flummox/issues/comments/107652549","html_url":"https://github.com/acdlite/flummox/issues/202#issuecomment-107652549","issue_url":"https://api.github.com/repos/acdlite/flummox/issues/202","id":107652549,"user":{"login":"johanneslumpe","id":3470207,"avatar_url":"https://avatars.githubusercontent.com/u/3470207?v=3","gravatar_id":"","url":"https://api.github.com/users/johanneslumpe","html_url":"https://github.com/johanneslumpe","followers_url":"https://api.github.com/users/johanneslumpe/followers","following_url":"https://api.github.com/users/johanneslumpe/following{/other_user}","gists_url":"https://api.github.com/users/johanneslumpe/gists{/gist_id}","starred_url":"https://api.github.com/users/johanneslumpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanneslumpe/subscriptions","organizations_url":"https://api.github.com/users/johanneslumpe/orgs","repos_url":"https://api.github.com/users/johanneslumpe/repos","events_url":"https://api.github.com/users/johanneslumpe/events{/privacy}","received_events_url":"https://api.github.com/users/johanneslumpe/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T17:48:40Z","updated_at":"2015-06-01T17:48:40Z","body":"Ok, closing this for now. If you still have this issue, please report back here and we can re-open this :)"}}