{"action":"created","issue":{"url":"https://api.github.com/repos/JedWatson/react-codemirror/issues/47","repository_url":"https://api.github.com/repos/JedWatson/react-codemirror","labels_url":"https://api.github.com/repos/JedWatson/react-codemirror/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/JedWatson/react-codemirror/issues/47/comments","events_url":"https://api.github.com/repos/JedWatson/react-codemirror/issues/47/events","html_url":"https://github.com/JedWatson/react-codemirror/issues/47","id":151564110,"number":47,"title":"Why is Codemirror#componentWillReceiveProps async?","user":{"login":"n1k0","id":41547,"avatar_url":"https://avatars.githubusercontent.com/u/41547?v=3","gravatar_id":"","url":"https://api.github.com/users/n1k0","html_url":"https://github.com/n1k0","followers_url":"https://api.github.com/users/n1k0/followers","following_url":"https://api.github.com/users/n1k0/following{/other_user}","gists_url":"https://api.github.com/users/n1k0/gists{/gist_id}","starred_url":"https://api.github.com/users/n1k0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1k0/subscriptions","organizations_url":"https://api.github.com/users/n1k0/orgs","repos_url":"https://api.github.com/users/n1k0/repos","events_url":"https://api.github.com/users/n1k0/events{/privacy}","received_events_url":"https://api.github.com/users/n1k0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-28T07:02:16Z","updated_at":"2016-05-30T21:11:56Z","closed_at":null,"body":"There might be a very good reason I'm not aware of for debouncing `componentWillReceiveProps` by default, but it created a lot of headache when it comes to state synchronization (refs https://github.com/mozilla-services/react-jsonschema-form/pull/175).\r\n\r\nWhat's the reasoning behind scheduling it to the next tick, perfs? Could it be conceivable to make this an optional behavior?"},"comment":{"url":"https://api.github.com/repos/JedWatson/react-codemirror/issues/comments/222555072","html_url":"https://github.com/JedWatson/react-codemirror/issues/47#issuecomment-222555072","issue_url":"https://api.github.com/repos/JedWatson/react-codemirror/issues/47","id":222555072,"user":{"login":"attaboy","id":71433,"avatar_url":"https://avatars.githubusercontent.com/u/71433?v=3","gravatar_id":"","url":"https://api.github.com/users/attaboy","html_url":"https://github.com/attaboy","followers_url":"https://api.github.com/users/attaboy/followers","following_url":"https://api.github.com/users/attaboy/following{/other_user}","gists_url":"https://api.github.com/users/attaboy/gists{/gist_id}","starred_url":"https://api.github.com/users/attaboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/attaboy/subscriptions","organizations_url":"https://api.github.com/users/attaboy/orgs","repos_url":"https://api.github.com/users/attaboy/repos","events_url":"https://api.github.com/users/attaboy/events{/privacy}","received_events_url":"https://api.github.com/users/attaboy/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T21:11:56Z","updated_at":"2016-05-30T21:11:56Z","body":"Thanks for the pull request, @sslotsky. It fixes a similar problem I was having where a first instance of CodeMirror fails to sync its options to state when there's a second instance on the page."}}
{"actor":{"display_login":"attaboy"}}