{"action":"created","issue":{"url":"https://api.github.com/repos/akiran/react-slick/issues/776","repository_url":"https://api.github.com/repos/akiran/react-slick","labels_url":"https://api.github.com/repos/akiran/react-slick/issues/776/labels{/name}","comments_url":"https://api.github.com/repos/akiran/react-slick/issues/776/comments","events_url":"https://api.github.com/repos/akiran/react-slick/issues/776/events","html_url":"https://github.com/akiran/react-slick/issues/776","id":237093434,"node_id":"MDU6SXNzdWUyMzcwOTM0MzQ=","number":776,"title":"Server Side Rendering: Checksum invalid","user":{"login":"rkkautsar","id":1536976,"node_id":"MDQ6VXNlcjE1MzY5NzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1536976?v=4","gravatar_id":"","url":"https://api.github.com/users/rkkautsar","html_url":"https://github.com/rkkautsar","followers_url":"https://api.github.com/users/rkkautsar/followers","following_url":"https://api.github.com/users/rkkautsar/following{/other_user}","gists_url":"https://api.github.com/users/rkkautsar/gists{/gist_id}","starred_url":"https://api.github.com/users/rkkautsar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkkautsar/subscriptions","organizations_url":"https://api.github.com/users/rkkautsar/orgs","repos_url":"https://api.github.com/users/rkkautsar/repos","events_url":"https://api.github.com/users/rkkautsar/events{/privacy}","received_events_url":"https://api.github.com/users/rkkautsar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/akiran/react-slick/milestones/8","html_url":"https://github.com/akiran/react-slick/milestone/8","labels_url":"https://api.github.com/repos/akiran/react-slick/milestones/8/labels","id":3092513,"node_id":"MDk6TWlsZXN0b25lMzA5MjUxMw==","number":8,"title":"last","description":"","creator":{"login":"laveesingh","id":8917978,"node_id":"MDQ6VXNlcjg5MTc5Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/8917978?v=4","gravatar_id":"","url":"https://api.github.com/users/laveesingh","html_url":"https://github.com/laveesingh","followers_url":"https://api.github.com/users/laveesingh/followers","following_url":"https://api.github.com/users/laveesingh/following{/other_user}","gists_url":"https://api.github.com/users/laveesingh/gists{/gist_id}","starred_url":"https://api.github.com/users/laveesingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laveesingh/subscriptions","organizations_url":"https://api.github.com/users/laveesingh/orgs","repos_url":"https://api.github.com/users/laveesingh/repos","events_url":"https://api.github.com/users/laveesingh/events{/privacy}","received_events_url":"https://api.github.com/users/laveesingh/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2018-02-06T10:51:05Z","updated_at":"2018-03-29T07:12:20Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2017-06-20T05:02:57Z","updated_at":"2018-10-12T14:40:57Z","closed_at":"2018-03-29T07:12:20Z","author_association":"NONE","body":"```\r\nWarning: React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:\r\n (client) =\"slick-slide slick-cloned Testimony__Te\r\n (server) =\"slick-slide slick-active slick-cloned \r\n```"},"comment":{"url":"https://api.github.com/repos/akiran/react-slick/issues/comments/429349214","html_url":"https://github.com/akiran/react-slick/issues/776#issuecomment-429349214","issue_url":"https://api.github.com/repos/akiran/react-slick/issues/776","id":429349214,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTM0OTIxNA==","user":{"login":"BogdanKreditech","id":40829528,"node_id":"MDQ6VXNlcjQwODI5NTI4","avatar_url":"https://avatars3.githubusercontent.com/u/40829528?v=4","gravatar_id":"","url":"https://api.github.com/users/BogdanKreditech","html_url":"https://github.com/BogdanKreditech","followers_url":"https://api.github.com/users/BogdanKreditech/followers","following_url":"https://api.github.com/users/BogdanKreditech/following{/other_user}","gists_url":"https://api.github.com/users/BogdanKreditech/gists{/gist_id}","starred_url":"https://api.github.com/users/BogdanKreditech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BogdanKreditech/subscriptions","organizations_url":"https://api.github.com/users/BogdanKreditech/orgs","repos_url":"https://api.github.com/users/BogdanKreditech/repos","events_url":"https://api.github.com/users/BogdanKreditech/events{/privacy}","received_events_url":"https://api.github.com/users/BogdanKreditech/received_events","type":"User","site_admin":false},"created_at":"2018-10-12T14:40:57Z","updated_at":"2018-10-12T14:40:57Z","author_association":"NONE","body":"I had this problem.\r\nMy fix:\r\n1. create this.state = {\r\n      activeSlide: false\r\n    };\r\n\r\n2. Move component to **const sliderShow** = <Slider/> inside **render** before **return**\r\n\r\n3. Use componentDidMount for set **true**\r\n\r\ncomponentDidMount() {\r\n    this.setState({\r\n      activeSlide: true,\r\n    });\r\n  }\r\n\r\n4. return my component after render {this.state.activeSlide && sliderShow}\r\n\r\n"}}
{"actor":{"display_login":"BogdanKreditech"}}