{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/4877","repository_url":"https://api.github.com/repos/facebook/react","labels_url":"https://api.github.com/repos/facebook/react/issues/4877/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/4877/comments","events_url":"https://api.github.com/repos/facebook/react/issues/4877/events","html_url":"https://github.com/facebook/react/issues/4877","id":106502502,"number":4877,"title":"Invalid \"Mutating `style` is deprecated.\" warning in 0.14.0-rc1?","user":{"login":"moroshko","id":259753,"avatar_url":"https://avatars.githubusercontent.com/u/259753?v=3","gravatar_id":"","url":"https://api.github.com/users/moroshko","html_url":"https://github.com/moroshko","followers_url":"https://api.github.com/users/moroshko/followers","following_url":"https://api.github.com/users/moroshko/following{/other_user}","gists_url":"https://api.github.com/users/moroshko/gists{/gist_id}","starred_url":"https://api.github.com/users/moroshko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moroshko/subscriptions","organizations_url":"https://api.github.com/users/moroshko/orgs","repos_url":"https://api.github.com/users/moroshko/repos","events_url":"https://api.github.com/users/moroshko/events{/privacy}","received_events_url":"https://api.github.com/users/moroshko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/facebook/react/milestones/13","html_url":"https://github.com/facebook/react/milestones/0.14","labels_url":"https://api.github.com/repos/facebook/react/milestones/13/labels","id":1035426,"number":13,"title":"0.14","description":null,"creator":{"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},"open_issues":0,"closed_issues":74,"state":"closed","created_at":"2015-03-23T23:33:55Z","updated_at":"2015-10-09T17:52:30Z","due_on":null,"closed_at":"2015-10-08T00:19:55Z"},"comments":22,"created_at":"2015-09-15T07:54:44Z","updated_at":"2016-09-17T10:09:17Z","closed_at":"2015-09-22T23:34:05Z","body":"I get the following warning in 0.14.0-rc1:\r\n\r\n> Warning: `div` was passed a style object that has previously been mutated. Mutating `style` is deprecated. Consider cloning it beforehand. Check the `render` of `Preview`. Previous style: {\"color\":\"#747474\",\"backgroundColor\":\"#009988\",\"fontSize\":null,\"fontWeight\":\"300\"}. Mutated style: {\"color\":\"#747474\",\"backgroundColor\":\"#009988\",\"fontSize\":null,\"fontWeight\":\"300\"}.\r\n\r\nI'm confused why this warning appears because the \"Previous style\" and the \"Mutated style\" look exactly the same.\r\n\r\nTo reproduce the issue:\r\n```\r\n$ git clone git@github.com:moroshko/accessible-colors.git\r\n$ cd accessible-colors\r\n$ git checkout 1d8efda7145ff316b78e60cc0f0ebe113da11367\r\n$ npm install\r\n$ npm start\r\n```\r\nThen open `http://localhost:3000/dist/index.html` in a browser, and:\r\n1. Type \"1\" in the font size field\r\n2. Blur that field\r\nNow you should see the warning in the console.\r\n\r\nWhy this warning is displayed? How could I fix it?"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/247761080","html_url":"https://github.com/facebook/react/issues/4877#issuecomment-247761080","issue_url":"https://api.github.com/repos/facebook/react/issues/4877","id":247761080,"user":{"login":"AoDev","id":1526150,"avatar_url":"https://avatars.githubusercontent.com/u/1526150?v=3","gravatar_id":"","url":"https://api.github.com/users/AoDev","html_url":"https://github.com/AoDev","followers_url":"https://api.github.com/users/AoDev/followers","following_url":"https://api.github.com/users/AoDev/following{/other_user}","gists_url":"https://api.github.com/users/AoDev/gists{/gist_id}","starred_url":"https://api.github.com/users/AoDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AoDev/subscriptions","organizations_url":"https://api.github.com/users/AoDev/orgs","repos_url":"https://api.github.com/users/AoDev/repos","events_url":"https://api.github.com/users/AoDev/events{/privacy}","received_events_url":"https://api.github.com/users/AoDev/received_events","type":"User","site_admin":false},"created_at":"2016-09-17T10:09:17Z","updated_at":"2016-09-17T10:09:17Z","body":"@rickhanlonii Thanks, I realised this later but forgot I had commented here. "}}
{"actor":{"display_login":"AoDev"}}