{"action":"created","issue":{"url":"https://api.github.com/repos/souporserious/react-measure/issues/26","repository_url":"https://api.github.com/repos/souporserious/react-measure","labels_url":"https://api.github.com/repos/souporserious/react-measure/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/souporserious/react-measure/issues/26/comments","events_url":"https://api.github.com/repos/souporserious/react-measure/issues/26/events","html_url":"https://github.com/souporserious/react-measure/issues/26","id":193250347,"number":26,"title":"onMeasure not triggering on every render.","user":{"login":"achobanov","id":1363532,"avatar_url":"https://avatars.githubusercontent.com/u/1363532?v=3","gravatar_id":"","url":"https://api.github.com/users/achobanov","html_url":"https://github.com/achobanov","followers_url":"https://api.github.com/users/achobanov/followers","following_url":"https://api.github.com/users/achobanov/following{/other_user}","gists_url":"https://api.github.com/users/achobanov/gists{/gist_id}","starred_url":"https://api.github.com/users/achobanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achobanov/subscriptions","organizations_url":"https://api.github.com/users/achobanov/orgs","repos_url":"https://api.github.com/users/achobanov/repos","events_url":"https://api.github.com/users/achobanov/events{/privacy}","received_events_url":"https://api.github.com/users/achobanov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-03T00:30:12Z","updated_at":"2016-12-03T10:20:55Z","closed_at":null,"body":"Neat plugin, but I don't understand when exactly does onMeasure fire. From what I gather it should trigger on every render, yet I am having a case when I click on item, it changes state, which invokes render, but onMeasure is not triggered. Then if I click on another item, it invokes the same change of state, via the same exact function, executed with same context and no properties, it changes state, invoking render and onMeasure fires up. This happens consistently for the certain items. it's not random at all, and that makes it very weird, but the problem is not in my items, since both of them receive as props the same exact function."},"comment":{"url":"https://api.github.com/repos/souporserious/react-measure/issues/comments/264630626","html_url":"https://github.com/souporserious/react-measure/issues/26#issuecomment-264630626","issue_url":"https://api.github.com/repos/souporserious/react-measure/issues/26","id":264630626,"user":{"login":"achobanov","id":1363532,"avatar_url":"https://avatars.githubusercontent.com/u/1363532?v=3","gravatar_id":"","url":"https://api.github.com/users/achobanov","html_url":"https://github.com/achobanov","followers_url":"https://api.github.com/users/achobanov/followers","following_url":"https://api.github.com/users/achobanov/following{/other_user}","gists_url":"https://api.github.com/users/achobanov/gists{/gist_id}","starred_url":"https://api.github.com/users/achobanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achobanov/subscriptions","organizations_url":"https://api.github.com/users/achobanov/orgs","repos_url":"https://api.github.com/users/achobanov/repos","events_url":"https://api.github.com/users/achobanov/events{/privacy}","received_events_url":"https://api.github.com/users/achobanov/received_events","type":"User","site_admin":false},"created_at":"2016-12-03T10:20:55Z","updated_at":"2016-12-03T10:20:55Z","body":"Alright, that sounds good. I will try to call it manually when I need it then. Would you wirte something like that in the Readme? I think it would help people, especially unexperienced, like myself, to knon when and how onMeasure is called. If this doesn't work, could I PM you or something for a more detailed explanation of my problem, beause I don't know who else can help me out with measure. Thanks"}}
{"actor":{"display_login":"achobanov"}}