{"action":"created","issue":{"url":"https://api.github.com/repos/akiran/react-slick/issues/33","labels_url":"https://api.github.com/repos/akiran/react-slick/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/akiran/react-slick/issues/33/comments","events_url":"https://api.github.com/repos/akiran/react-slick/issues/33/events","html_url":"https://github.com/akiran/react-slick/pull/33","id":63860066,"number":33,"title":"Change this.props.initialSlide to props.initialSlide in initialize","user":{"login":"realchaseadams","id":1024544,"avatar_url":"https://avatars.githubusercontent.com/u/1024544?v=3","gravatar_id":"","url":"https://api.github.com/users/realchaseadams","html_url":"https://github.com/realchaseadams","followers_url":"https://api.github.com/users/realchaseadams/followers","following_url":"https://api.github.com/users/realchaseadams/following{/other_user}","gists_url":"https://api.github.com/users/realchaseadams/gists{/gist_id}","starred_url":"https://api.github.com/users/realchaseadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realchaseadams/subscriptions","organizations_url":"https://api.github.com/users/realchaseadams/orgs","repos_url":"https://api.github.com/users/realchaseadams/repos","events_url":"https://api.github.com/users/realchaseadams/events{/privacy}","received_events_url":"https://api.github.com/users/realchaseadams/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-23T23:52:00Z","updated_at":"2015-03-24T03:48:18Z","closed_at":"2015-03-24T03:48:00Z","pull_request":{"url":"https://api.github.com/repos/akiran/react-slick/pulls/33","html_url":"https://github.com/akiran/react-slick/pull/33","diff_url":"https://github.com/akiran/react-slick/pull/33.diff","patch_url":"https://github.com/akiran/react-slick/pull/33.patch"},"body":"props is passed into initialize and initialize is not being bound to the places it's called so using props instead of this.props gives the correct initialslide for the current props being passed in.\r\n\r\nThis causes a problem of if you're passing in initialSlide, and whenever a state changes out of the component, the component will be one slide behind because it was using the previously set this.props.initialSlide instead of the current props.initialSlide passed in."},"comment":{"url":"https://api.github.com/repos/akiran/react-slick/issues/comments/85329517","html_url":"https://github.com/akiran/react-slick/pull/33#issuecomment-85329517","issue_url":"https://api.github.com/repos/akiran/react-slick/issues/33","id":85329517,"user":{"login":"akiran","id":3403295,"avatar_url":"https://avatars.githubusercontent.com/u/3403295?v=3","gravatar_id":"","url":"https://api.github.com/users/akiran","html_url":"https://github.com/akiran","followers_url":"https://api.github.com/users/akiran/followers","following_url":"https://api.github.com/users/akiran/following{/other_user}","gists_url":"https://api.github.com/users/akiran/gists{/gist_id}","starred_url":"https://api.github.com/users/akiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akiran/subscriptions","organizations_url":"https://api.github.com/users/akiran/orgs","repos_url":"https://api.github.com/users/akiran/repos","events_url":"https://api.github.com/users/akiran/events{/privacy}","received_events_url":"https://api.github.com/users/akiran/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T03:48:18Z","updated_at":"2015-03-24T03:48:18Z","body":"@realchaseadams  Thanks for pull request."}}