{"action":"opened","issue":{"url":"https://api.github.com/repos/reflex-frp/reflex-dom/issues/110","repository_url":"https://api.github.com/repos/reflex-frp/reflex-dom","labels_url":"https://api.github.com/repos/reflex-frp/reflex-dom/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/reflex-frp/reflex-dom/issues/110/comments","events_url":"https://api.github.com/repos/reflex-frp/reflex-dom/issues/110/events","html_url":"https://github.com/reflex-frp/reflex-dom/issues/110","id":186160287,"number":110,"title":"postBuild fires before the document fragment is added to the DOM","user":{"login":"albertov","id":865291,"avatar_url":"https://avatars.githubusercontent.com/u/865291?v=3","gravatar_id":"","url":"https://api.github.com/users/albertov","html_url":"https://github.com/albertov","followers_url":"https://api.github.com/users/albertov/followers","following_url":"https://api.github.com/users/albertov/following{/other_user}","gists_url":"https://api.github.com/users/albertov/gists{/gist_id}","starred_url":"https://api.github.com/users/albertov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertov/subscriptions","organizations_url":"https://api.github.com/users/albertov/orgs","repos_url":"https://api.github.com/users/albertov/repos","events_url":"https://api.github.com/users/albertov/events{/privacy}","received_events_url":"https://api.github.com/users/albertov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-30T20:19:42Z","updated_at":"2016-10-30T20:19:42Z","closed_at":null,"body":"I've migrated a [reflex binding for OpenLayers](https://github.com/albertov/reflex-openlayers) to the development branch of reflex-dom and I've noticed that I can no longer depend on the \"postBuild\" event to perform some initialization on the OpenLayers side which needs to be done when the element has been attached to the DOM and sized properly.\r\n\r\nI've worked around it by polling the document until my element is added, [like this](https://github.com/albertov/reflex-openlayers/blob/79ec5c0d3642ad899829d8ad72f9320eeb93a508/src/Reflex/OpenLayers/Map.hs#L226), but with the stable version of reflex-dom I could simply do [this](https://github.com/albertov/reflex-openlayers/blob/1d7596fbd6106fbd09557e0130f25710f6aae379/src/Reflex/OpenLayers.hs#L225).\r\n\r\nIs this change intentional? If so, is there a better way I can use to be notified when an element I create is added to the DOM? If not I can try to submit a fix...\r\n\r\nCheers"}}
{"actor":{"display_login":"albertov"}}