{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/3218","labels_url":"https://api.github.com/repos/facebook/react/issues/3218/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/3218/comments","events_url":"https://api.github.com/repos/facebook/react/issues/3218/events","html_url":"https://github.com/facebook/react/issues/3218","id":58401806,"number":3218,"title":"Warn when React DOM modified by not-React","user":{"login":"jsfb","id":9595985,"avatar_url":"https://avatars.githubusercontent.com/u/9595985?v=3","gravatar_id":"","url":"https://api.github.com/users/jsfb","html_url":"https://github.com/jsfb","followers_url":"https://api.github.com/users/jsfb/followers","following_url":"https://api.github.com/users/jsfb/following{/other_user}","gists_url":"https://api.github.com/users/jsfb/gists{/gist_id}","starred_url":"https://api.github.com/users/jsfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsfb/subscriptions","organizations_url":"https://api.github.com/users/jsfb/orgs","repos_url":"https://api.github.com/users/jsfb/repos","events_url":"https://api.github.com/users/jsfb/events{/privacy}","received_events_url":"https://api.github.com/users/jsfb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-20T19:52:05Z","updated_at":"2015-02-22T19:33:45Z","closed_at":null,"body":"As discussed in https://github.com/facebook/react/issues/3207#issuecomment-75181038, a complementary improvement is to turn on a mutation observer in dev, and warn of someone other than React modifies the DOM and/or if dom nodes appear without a data-reactid, thus indicating an extension or some other script is doing fancy magic."},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/75452909","html_url":"https://github.com/facebook/react/issues/3218#issuecomment-75452909","issue_url":"https://api.github.com/repos/facebook/react/issues/3218","id":75452909,"user":{"login":"Daniel15","id":91933,"avatar_url":"https://avatars.githubusercontent.com/u/91933?v=3","gravatar_id":"","url":"https://api.github.com/users/Daniel15","html_url":"https://github.com/Daniel15","followers_url":"https://api.github.com/users/Daniel15/followers","following_url":"https://api.github.com/users/Daniel15/following{/other_user}","gists_url":"https://api.github.com/users/Daniel15/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel15/subscriptions","organizations_url":"https://api.github.com/users/Daniel15/orgs","repos_url":"https://api.github.com/users/Daniel15/repos","events_url":"https://api.github.com/users/Daniel15/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel15/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T19:33:45Z","updated_at":"2015-02-22T19:33:45Z","body":"> This seems like it would create annoying noise in some instances. There are a few use cases where direct DOM mutation is desirable\r\n\r\nIMO those cases should be explicitly marked as such (perhaps a `dangerouslyAllowExternalMutations` attribute or something) as it's quite rare."}}