{"action":"created","issue":{"url":"https://api.github.com/repos/akiran/react-slick/issues/136","labels_url":"https://api.github.com/repos/akiran/react-slick/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/akiran/react-slick/issues/136/comments","events_url":"https://api.github.com/repos/akiran/react-slick/issues/136/events","html_url":"https://github.com/akiran/react-slick/issues/136","id":109640575,"number":136,"title":"setState in beforeChange disables slider","user":{"login":"mikhuang","id":206310,"avatar_url":"https://avatars.githubusercontent.com/u/206310?v=3","gravatar_id":"","url":"https://api.github.com/users/mikhuang","html_url":"https://github.com/mikhuang","followers_url":"https://api.github.com/users/mikhuang/followers","following_url":"https://api.github.com/users/mikhuang/following{/other_user}","gists_url":"https://api.github.com/users/mikhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhuang/subscriptions","organizations_url":"https://api.github.com/users/mikhuang/orgs","repos_url":"https://api.github.com/users/mikhuang/repos","events_url":"https://api.github.com/users/mikhuang/events{/privacy}","received_events_url":"https://api.github.com/users/mikhuang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-03T19:23:49Z","updated_at":"2015-10-26T03:32:01Z","closed_at":null,"body":"I'm trying to call setState on the parent component in the beforeChange callback. This seems to disable the slider. However, calling setState in the afterChange callback works fine. Any ideas? Also, is there a jsfiddle that has a barebones setup of react-slick in it? I couldn't quite get one working."},"comment":{"url":"https://api.github.com/repos/akiran/react-slick/issues/comments/151014094","html_url":"https://github.com/akiran/react-slick/issues/136#issuecomment-151014094","issue_url":"https://api.github.com/repos/akiran/react-slick/issues/136","id":151014094,"user":{"login":"jjalonso","id":389467,"avatar_url":"https://avatars.githubusercontent.com/u/389467?v=3","gravatar_id":"","url":"https://api.github.com/users/jjalonso","html_url":"https://github.com/jjalonso","followers_url":"https://api.github.com/users/jjalonso/followers","following_url":"https://api.github.com/users/jjalonso/following{/other_user}","gists_url":"https://api.github.com/users/jjalonso/gists{/gist_id}","starred_url":"https://api.github.com/users/jjalonso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjalonso/subscriptions","organizations_url":"https://api.github.com/users/jjalonso/orgs","repos_url":"https://api.github.com/users/jjalonso/repos","events_url":"https://api.github.com/users/jjalonso/events{/privacy}","received_events_url":"https://api.github.com/users/jjalonso/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T03:32:01Z","updated_at":"2015-10-26T03:32:01Z","body":"here the same bug."}}