{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/3580","labels_url":"https://api.github.com/repos/facebook/react/issues/3580/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/3580/comments","events_url":"https://api.github.com/repos/facebook/react/issues/3580/events","html_url":"https://github.com/facebook/react/pull/3580","id":66124541,"number":3580,"title":"Warn when multiple instances of React are loaded on the same page","user":{"login":"robertknight","id":2458,"avatar_url":"https://avatars.githubusercontent.com/u/2458?v=3","gravatar_id":"","url":"https://api.github.com/users/robertknight","html_url":"https://github.com/robertknight","followers_url":"https://api.github.com/users/robertknight/followers","following_url":"https://api.github.com/users/robertknight/following{/other_user}","gists_url":"https://api.github.com/users/robertknight/gists{/gist_id}","starred_url":"https://api.github.com/users/robertknight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertknight/subscriptions","organizations_url":"https://api.github.com/users/robertknight/orgs","repos_url":"https://api.github.com/users/robertknight/repos","events_url":"https://api.github.com/users/robertknight/events{/privacy}","received_events_url":"https://api.github.com/users/robertknight/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react/labels/CLA%20Signed","name":"CLA Signed","color":"e7e7e7"},{"url":"https://api.github.com/repos/facebook/react/labels/GH%20Review:%20accepted","name":"GH Review: accepted","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-04-03T10:51:07Z","updated_at":"2015-04-10T19:35:09Z","closed_at":"2015-04-09T02:18:44Z","pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/3580","html_url":"https://github.com/facebook/react/pull/3580","diff_url":"https://github.com/facebook/react/pull/3580.diff","patch_url":"https://github.com/facebook/react/pull/3580.patch"},"body":"This causes a variety of hard-to-debug issues. This implements the proposed warning from the comments in #2402.\r\n\r\nThere are already a number of specific places in the code which warn about using multiple copies of React but those don't always get triggered. This adds a check at the top of the main module which spits out a warning before any of the initialization runs.\r\n\r\nFixes #2402\r\n\r\n(Apologies, I closed the previous PR due to a force push in my branch)\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/91660472","html_url":"https://github.com/facebook/react/pull/3580#issuecomment-91660472","issue_url":"https://api.github.com/repos/facebook/react/issues/3580","id":91660472,"user":{"login":"spicyj","id":6820,"avatar_url":"https://avatars.githubusercontent.com/u/6820?v=3","gravatar_id":"","url":"https://api.github.com/users/spicyj","html_url":"https://github.com/spicyj","followers_url":"https://api.github.com/users/spicyj/followers","following_url":"https://api.github.com/users/spicyj/following{/other_user}","gists_url":"https://api.github.com/users/spicyj/gists{/gist_id}","starred_url":"https://api.github.com/users/spicyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spicyj/subscriptions","organizations_url":"https://api.github.com/users/spicyj/orgs","repos_url":"https://api.github.com/users/spicyj/repos","events_url":"https://api.github.com/users/spicyj/events{/privacy}","received_events_url":"https://api.github.com/users/spicyj/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T19:35:08Z","updated_at":"2015-04-10T19:35:08Z","body":"@zpao Yeah, let's for now. #3646."}}