{"action":"created","issue":{"url":"https://api.github.com/repos/ericclemmons/react-resolver/issues/27","labels_url":"https://api.github.com/repos/ericclemmons/react-resolver/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/ericclemmons/react-resolver/issues/27/comments","events_url":"https://api.github.com/repos/ericclemmons/react-resolver/issues/27/events","html_url":"https://github.com/ericclemmons/react-resolver/issues/27","id":68667966,"number":27,"title":"Resolver is not defined ","user":{"login":"ivan-kleshnin","id":2128182,"avatar_url":"https://avatars.githubusercontent.com/u/2128182?v=3","gravatar_id":"","url":"https://api.github.com/users/ivan-kleshnin","html_url":"https://github.com/ivan-kleshnin","followers_url":"https://api.github.com/users/ivan-kleshnin/followers","following_url":"https://api.github.com/users/ivan-kleshnin/following{/other_user}","gists_url":"https://api.github.com/users/ivan-kleshnin/gists{/gist_id}","starred_url":"https://api.github.com/users/ivan-kleshnin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivan-kleshnin/subscriptions","organizations_url":"https://api.github.com/users/ivan-kleshnin/orgs","repos_url":"https://api.github.com/users/ivan-kleshnin/repos","events_url":"https://api.github.com/users/ivan-kleshnin/events{/privacy}","received_events_url":"https://api.github.com/users/ivan-kleshnin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-15T12:26:57Z","updated_at":"2015-04-15T19:30:00Z","closed_at":null,"body":"Everything looks fine to me\r\n\r\n```javascript\r\n// app.js\r\nimport {Resolver} from \"react-resolver\";\r\n\r\nwindow.router = ReactRouter.create({\r\n  routes: routes,\r\n  location: HistoryLocation\r\n});\r\n\r\nwindow.router.run((Handler, state) => {\r\n  Resolver.render(<Handler/>, document.getElementById(\"main\")));\r\n});\r\n\r\n// home.js\r\nclass Home extends React.Component {\r\n  static displayName = \"Home\"\r\n\r\n  render() {\r\n    return <div>Home</div>;\r\n  }\r\n}\r\n\r\nexport default Resolver.createContainer(Home, {\r\n  resolve: {}\r\n});\r\n```\r\n\r\nGetting **Resolver is not defined in either `context` or `props`.  (Perhaps missing a root <Container resolver={new Resolver()} />?)**\r\n\r\nReact: 0.13.1\r\nReact-Resolver: 0.1.1"},"comment":{"url":"https://api.github.com/repos/ericclemmons/react-resolver/issues/comments/93539542","html_url":"https://github.com/ericclemmons/react-resolver/issues/27#issuecomment-93539542","issue_url":"https://api.github.com/repos/ericclemmons/react-resolver/issues/27","id":93539542,"user":{"login":"ivan-kleshnin","id":2128182,"avatar_url":"https://avatars.githubusercontent.com/u/2128182?v=3","gravatar_id":"","url":"https://api.github.com/users/ivan-kleshnin","html_url":"https://github.com/ivan-kleshnin","followers_url":"https://api.github.com/users/ivan-kleshnin/followers","following_url":"https://api.github.com/users/ivan-kleshnin/following{/other_user}","gists_url":"https://api.github.com/users/ivan-kleshnin/gists{/gist_id}","starred_url":"https://api.github.com/users/ivan-kleshnin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivan-kleshnin/subscriptions","organizations_url":"https://api.github.com/users/ivan-kleshnin/orgs","repos_url":"https://api.github.com/users/ivan-kleshnin/repos","events_url":"https://api.github.com/users/ivan-kleshnin/events{/privacy}","received_events_url":"https://api.github.com/users/ivan-kleshnin/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T19:30:00Z","updated_at":"2015-04-15T19:30:00Z","body":"I think you imply second React instance :wink:\r\nYep, that's look very like that. Browserify has hard times with both `react` and `react/addons` used.\r\nI always use pure `react` and you import \r\n```javascript\r\nvar _React = require(\"react/addons\");\r\n```\r\nin react-resolver so I end with two instances of them. What do you propose to do then?\r\n"}}