{"action":"opened","issue":{"url":"https://api.github.com/repos/tomchentw/react-google-maps/issues/21","labels_url":"https://api.github.com/repos/tomchentw/react-google-maps/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/tomchentw/react-google-maps/issues/21/comments","events_url":"https://api.github.com/repos/tomchentw/react-google-maps/issues/21/events","html_url":"https://github.com/tomchentw/react-google-maps/issues/21","id":55679263,"number":21,"title":"Multiple maps hard to use. Impl relies heavily on React context.","user":{"login":"rektide","id":53243,"avatar_url":"https://avatars.githubusercontent.com/u/53243?v=3","gravatar_id":"","url":"https://api.github.com/users/rektide","html_url":"https://github.com/rektide","followers_url":"https://api.github.com/users/rektide/followers","following_url":"https://api.github.com/users/rektide/following{/other_user}","gists_url":"https://api.github.com/users/rektide/gists{/gist_id}","starred_url":"https://api.github.com/users/rektide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rektide/subscriptions","organizations_url":"https://api.github.com/users/rektide/orgs","repos_url":"https://api.github.com/users/rektide/repos","events_url":"https://api.github.com/users/rektide/events{/privacy}","received_events_url":"https://api.github.com/users/rektide/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-27T21:48:09Z","updated_at":"2015-01-27T21:48:09Z","closed_at":null,"body":"This code makes excessive use of an undocumented, unsupported feature in React: the context. It stores, for example, the reference to the Google Maps objects in the context.\r\n\r\nThis makes using multiple maps on the page extremely hard/impossible. If you have a Marker, which Map does the Marker get added to? Well, that's going to depend on which map is in the React context right now.\r\n\r\nReact context is in general a big no-no."}}