{"action":"created","issue":{"url":"https://api.github.com/repos/kittencup/angular2-ama-cn/issues/206","repository_url":"https://api.github.com/repos/kittencup/angular2-ama-cn","labels_url":"https://api.github.com/repos/kittencup/angular2-ama-cn/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/kittencup/angular2-ama-cn/issues/206/comments","events_url":"https://api.github.com/repos/kittencup/angular2-ama-cn/issues/206/events","html_url":"https://github.com/kittencup/angular2-ama-cn/issues/206","id":170824494,"number":206,"title":"angular2中是否有render后的钩子","user":{"login":"caoren","id":1974273,"avatar_url":"https://avatars.githubusercontent.com/u/1974273?v=3","gravatar_id":"","url":"https://api.github.com/users/caoren","html_url":"https://github.com/caoren","followers_url":"https://api.github.com/users/caoren/followers","following_url":"https://api.github.com/users/caoren/following{/other_user}","gists_url":"https://api.github.com/users/caoren/gists{/gist_id}","starred_url":"https://api.github.com/users/caoren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caoren/subscriptions","organizations_url":"https://api.github.com/users/caoren/orgs","repos_url":"https://api.github.com/users/caoren/repos","events_url":"https://api.github.com/users/caoren/events{/privacy}","received_events_url":"https://api.github.com/users/caoren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-12T08:40:35Z","updated_at":"2016-09-10T09:45:41Z","closed_at":null,"body":"angular2中有没有类似react中componentDidUpdate的方法，就是render后触发的回调。\r\nangular2中看了ngAfterContentChecked等，触发太频繁了，只要执行相应的事件且模板没有改变，也会触发ngAfterContentChecked等事件。"},"comment":{"url":"https://api.github.com/repos/kittencup/angular2-ama-cn/issues/comments/246102708","html_url":"https://github.com/kittencup/angular2-ama-cn/issues/206#issuecomment-246102708","issue_url":"https://api.github.com/repos/kittencup/angular2-ama-cn/issues/206","id":246102708,"user":{"login":"alwayrun","id":558808,"avatar_url":"https://avatars.githubusercontent.com/u/558808?v=3","gravatar_id":"","url":"https://api.github.com/users/alwayrun","html_url":"https://github.com/alwayrun","followers_url":"https://api.github.com/users/alwayrun/followers","following_url":"https://api.github.com/users/alwayrun/following{/other_user}","gists_url":"https://api.github.com/users/alwayrun/gists{/gist_id}","starred_url":"https://api.github.com/users/alwayrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alwayrun/subscriptions","organizations_url":"https://api.github.com/users/alwayrun/orgs","repos_url":"https://api.github.com/users/alwayrun/repos","events_url":"https://api.github.com/users/alwayrun/events{/privacy}","received_events_url":"https://api.github.com/users/alwayrun/received_events","type":"User","site_admin":false},"created_at":"2016-09-10T09:45:41Z","updated_at":"2016-09-10T09:45:41Z","body":"@caoren  建议可以看一下 [Lifecycle hooks](https://angular.io/docs/ts/latest/guide/lifecycle-hooks.html)\r\n\r\n```typescript\r\nngAfterContentInit\r\nngAfterViewInit\r\n```\r\n这两个  hooks 应该都可以\r\n"}}
{"actor":{"display_login":"alwayrun"}}