{"action":"opened","issue":{"url":"https://api.github.com/repos/ractivejs/ractive/issues/3218","repository_url":"https://api.github.com/repos/ractivejs/ractive","labels_url":"https://api.github.com/repos/ractivejs/ractive/issues/3218/labels{/name}","comments_url":"https://api.github.com/repos/ractivejs/ractive/issues/3218/comments","events_url":"https://api.github.com/repos/ractivejs/ractive/issues/3218/events","html_url":"https://github.com/ractivejs/ractive/issues/3218","id":307853811,"number":3218,"title":"Lifecycle events extends – this._super missing warning is not logged","user":{"login":"marcalexiei","id":24919330,"avatar_url":"https://avatars0.githubusercontent.com/u/24919330?v=4","gravatar_id":"","url":"https://api.github.com/users/marcalexiei","html_url":"https://github.com/marcalexiei","followers_url":"https://api.github.com/users/marcalexiei/followers","following_url":"https://api.github.com/users/marcalexiei/following{/other_user}","gists_url":"https://api.github.com/users/marcalexiei/gists{/gist_id}","starred_url":"https://api.github.com/users/marcalexiei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcalexiei/subscriptions","organizations_url":"https://api.github.com/users/marcalexiei/orgs","repos_url":"https://api.github.com/users/marcalexiei/repos","events_url":"https://api.github.com/users/marcalexiei/events{/privacy}","received_events_url":"https://api.github.com/users/marcalexiei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-22T23:48:10Z","updated_at":"2018-03-22T23:48:10Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Description:\r\nWhile extend a component with a `lifecycle` event callback without calling `this._super()` no warning message is logged in console.\r\n\r\nOnly \"last\" `lifecycle` callback is called.\r\n\r\nThis warning has been introduced with `0.9.0`:\r\n> Overriding a Ractive prototype method during Ractive.extend without calling _super() will now issue a warning, as it's probably being done in error (#2358)\r\n\r\n## Versions affected:\r\n0.9.x\r\n\r\n## Platforms affected:\r\nAll\r\n\r\n## Reproduction:\r\nhttps://jsfiddle.net/entzhx1q/\r\n\r\n```javascript\r\nconst extendConfiguration = {\r\n  oninit() {\r\n    console.info(\"extendConfiguration oninit\");\r\n    \r\n    this.add('oninitCalls');\r\n  },\r\n};\r\n\r\nconst MyComponent = Ractive.extend({\r\n  template: `<p>oninit methods has been called:{{oninitCalls}} </p>`,\r\n\r\n  data() {\r\n    return {\r\n      oninitCalls: 0,\r\n    };\r\n  },\r\n\r\n  oninit() {\r\n    console.info(\"MyComponent oninit\");\r\n    \r\n    this.add('oninitCalls');\r\n  },\r\n})\r\n\r\nconst CustomComponent = MyComponent.extend(extendConfiguration);\r\n\r\nconst r = window.r = new Ractive({\r\n  el: '#main',\r\n  \r\n  components: {\r\n    CustomComponent,\r\n  },\r\n  \r\n  template: `\r\n    <h1>this._super missing warning</h1>\r\n    <CustomComponent/>\r\n  `,\r\n  data: {\r\n    hasSomething: true,\r\n  },\r\n});\r\n```"}}
{"actor":{"display_login":"marcalexiei"}}