{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-autocomplete/issues/1","labels_url":"https://api.github.com/repos/rackt/react-autocomplete/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-autocomplete/issues/1/comments","events_url":"https://api.github.com/repos/rackt/react-autocomplete/issues/1/events","html_url":"https://github.com/rackt/react-autocomplete/issues/1","id":36676376,"number":1,"title":"typing with async options gets funky","user":{"login":"ryanflorence","id":100200,"avatar_url":"https://avatars.githubusercontent.com/u/100200?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanflorence","html_url":"https://github.com/ryanflorence","followers_url":"https://api.github.com/users/ryanflorence/followers","following_url":"https://api.github.com/users/ryanflorence/following{/other_user}","gists_url":"https://api.github.com/users/ryanflorence/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanflorence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanflorence/subscriptions","organizations_url":"https://api.github.com/users/ryanflorence/orgs","repos_url":"https://api.github.com/users/ryanflorence/repos","events_url":"https://api.github.com/users/ryanflorence/events{/privacy}","received_events_url":"https://api.github.com/users/ryanflorence/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-06-27T15:28:42Z","updated_at":"2015-08-13T19:53:29Z","closed_at":null,"body":"if you wrap the example's `setState({states: ...` in a setTimeout and then use it, things get weird pretty easily, haven't identified what exactly is happening."},"comment":{"url":"https://api.github.com/repos/rackt/react-autocomplete/issues/comments/130820224","html_url":"https://github.com/rackt/react-autocomplete/issues/1#issuecomment-130820224","issue_url":"https://api.github.com/repos/rackt/react-autocomplete/issues/1","id":130820224,"user":{"login":"edygar","id":566280,"avatar_url":"https://avatars.githubusercontent.com/u/566280?v=3","gravatar_id":"","url":"https://api.github.com/users/edygar","html_url":"https://github.com/edygar","followers_url":"https://api.github.com/users/edygar/followers","following_url":"https://api.github.com/users/edygar/following{/other_user}","gists_url":"https://api.github.com/users/edygar/gists{/gist_id}","starred_url":"https://api.github.com/users/edygar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edygar/subscriptions","organizations_url":"https://api.github.com/users/edygar/orgs","repos_url":"https://api.github.com/users/edygar/repos","events_url":"https://api.github.com/users/edygar/events{/privacy}","received_events_url":"https://api.github.com/users/edygar/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T19:53:29Z","updated_at":"2015-08-13T19:53:29Z","body":"I think that's the case for:\r\n```js\r\n_this.setState(function(currentState ) { return newState; });\r\n```"}}