{"action":"created","issue":{"url":"https://api.github.com/repos/Workiva/w_module/issues/53","repository_url":"https://api.github.com/repos/Workiva/w_module","labels_url":"https://api.github.com/repos/Workiva/w_module/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/Workiva/w_module/issues/53/comments","events_url":"https://api.github.com/repos/Workiva/w_module/issues/53/events","html_url":"https://github.com/Workiva/w_module/issues/53","id":167497471,"number":53,"title":"CP-2206 CP-2086 Consider separating the setup of a module from it loading","user":{"login":"dustinlessard-wf","id":2326518,"avatar_url":"https://avatars.githubusercontent.com/u/2326518?v=3","gravatar_id":"","url":"https://api.github.com/users/dustinlessard-wf","html_url":"https://github.com/dustinlessard-wf","followers_url":"https://api.github.com/users/dustinlessard-wf/followers","following_url":"https://api.github.com/users/dustinlessard-wf/following{/other_user}","gists_url":"https://api.github.com/users/dustinlessard-wf/gists{/gist_id}","starred_url":"https://api.github.com/users/dustinlessard-wf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustinlessard-wf/subscriptions","organizations_url":"https://api.github.com/users/dustinlessard-wf/orgs","repos_url":"https://api.github.com/users/dustinlessard-wf/repos","events_url":"https://api.github.com/users/dustinlessard-wf/events{/privacy}","received_events_url":"https://api.github.com/users/dustinlessard-wf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-26T00:45:19Z","updated_at":"2017-01-06T19:58:33Z","closed_at":null,"body":"#### Issue:\r\n\r\nWe have no pattern for knowing when a module has actually finished loading.\r\n#### Use case:\r\n\r\nI'd like to have this option so that we can track app-startup.  If we can know when an individual module has finished loading, then we can know when a collection of them have (aka our app)\r\n\r\nThis would also help to understand the time needed for experiences to load.\r\n\r\n#### Why is this:\r\n\r\nAlthough our onLoad function returns a future (implying consumers will be informed of async load-related work being completed), when coupled with invoking actions, there is no way to know that any re-rendering has completed as a result of those initial actions being invoked.\r\n#### Proposed solution:\r\n1. Mark the onLoad function as deprecated and introduce the 'onSetup' function as a functionally equivalent replacement.\r\n2. Everyone migrates to the new hotness known as 'onSetup'.\r\n3. We reintroduce `onLoad` and it returns a future that completes once any state changes invoked from onSetup have propagated / re-rendered.\r\n\r\nSeeking feedback @trentgrover-wf @evanweible-wf @maxwellpeterson-wf @sebastianmalysa-wf @srinivasdhanwada-wf @jayudey-wf \r\n"},"comment":{"url":"https://api.github.com/repos/Workiva/w_module/issues/comments/270991430","html_url":"https://github.com/Workiva/w_module/issues/53#issuecomment-270991430","issue_url":"https://api.github.com/repos/Workiva/w_module/issues/53","id":270991430,"user":{"login":"maxwellpeterson-wf","id":1480547,"avatar_url":"https://avatars.githubusercontent.com/u/1480547?v=3","gravatar_id":"","url":"https://api.github.com/users/maxwellpeterson-wf","html_url":"https://github.com/maxwellpeterson-wf","followers_url":"https://api.github.com/users/maxwellpeterson-wf/followers","following_url":"https://api.github.com/users/maxwellpeterson-wf/following{/other_user}","gists_url":"https://api.github.com/users/maxwellpeterson-wf/gists{/gist_id}","starred_url":"https://api.github.com/users/maxwellpeterson-wf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxwellpeterson-wf/subscriptions","organizations_url":"https://api.github.com/users/maxwellpeterson-wf/orgs","repos_url":"https://api.github.com/users/maxwellpeterson-wf/repos","events_url":"https://api.github.com/users/maxwellpeterson-wf/events{/privacy}","received_events_url":"https://api.github.com/users/maxwellpeterson-wf/received_events","type":"User","site_admin":false},"created_at":"2017-01-06T19:58:33Z","updated_at":"2017-01-06T19:58:33Z","body":"I agree"}}
{"actor":{"display_login":"maxwellpeterson-wf"}}