{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/componentkit/issues/396","labels_url":"https://api.github.com/repos/facebook/componentkit/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/facebook/componentkit/issues/396/comments","events_url":"https://api.github.com/repos/facebook/componentkit/issues/396/events","html_url":"https://github.com/facebook/componentkit/issues/396","id":110222606,"number":396,"title":"CKLabelComponent flickers with frequent text changes","user":{"login":"leoschweizer","id":428354,"avatar_url":"https://avatars.githubusercontent.com/u/428354?v=3","gravatar_id":"","url":"https://api.github.com/users/leoschweizer","html_url":"https://github.com/leoschweizer","followers_url":"https://api.github.com/users/leoschweizer/followers","following_url":"https://api.github.com/users/leoschweizer/following{/other_user}","gists_url":"https://api.github.com/users/leoschweizer/gists{/gist_id}","starred_url":"https://api.github.com/users/leoschweizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoschweizer/subscriptions","organizations_url":"https://api.github.com/users/leoschweizer/orgs","repos_url":"https://api.github.com/users/leoschweizer/repos","events_url":"https://api.github.com/users/leoschweizer/events{/privacy}","received_events_url":"https://api.github.com/users/leoschweizer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/componentkit/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-07T13:12:35Z","updated_at":"2015-10-07T19:05:10Z","closed_at":"2015-10-07T16:22:14Z","body":"I have label component instances that update their text every second (think: timers). I don't do anything extraordinary with them:\r\n````objectivec\r\n[CKLabelComponent\r\n\tnewWithLabelAttributes:{\r\n\t\t.string = ...,\r\n\t\t.font = [UIFont systemFontOfSize:16],\r\n\t\t.color = [UIColor ...]\r\n\t}\r\n\tviewAttributes:{}\r\n]\r\n```\r\nUnfortunately, this leads to a clearly visible flickering on text changes. Is this working as designed, or is this a bug in the current ComponentKit release?\r\n\r\nIf I manually create UILabel instances instead, there is no visible flickering:\r\n```objectivec\r\n[CKComponent\r\n\tnewWithView:{\r\n\t\t[UILabel class],\r\n\t\t{\r\n\t\t\t{@selector(setText:), ...}\r\n\t\t}\r\n\t}\r\n\tsize:{\r\n\t\t.height = 21\r\n\t}\r\n]\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/componentkit/issues/comments/146296386","html_url":"https://github.com/facebook/componentkit/issues/396#issuecomment-146296386","issue_url":"https://api.github.com/repos/facebook/componentkit/issues/396","id":146296386,"user":{"login":"leoschweizer","id":428354,"avatar_url":"https://avatars.githubusercontent.com/u/428354?v=3","gravatar_id":"","url":"https://api.github.com/users/leoschweizer","html_url":"https://github.com/leoschweizer","followers_url":"https://api.github.com/users/leoschweizer/followers","following_url":"https://api.github.com/users/leoschweizer/following{/other_user}","gists_url":"https://api.github.com/users/leoschweizer/gists{/gist_id}","starred_url":"https://api.github.com/users/leoschweizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoschweizer/subscriptions","organizations_url":"https://api.github.com/users/leoschweizer/orgs","repos_url":"https://api.github.com/users/leoschweizer/repos","events_url":"https://api.github.com/users/leoschweizer/events{/privacy}","received_events_url":"https://api.github.com/users/leoschweizer/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T19:05:10Z","updated_at":"2015-10-07T19:05:10Z","body":"Allright, I'll stick with the UILabel route for now then!"}}