Polymer: Enhancement in life cycle callbacks Polymer 2.0-rc.2

Created on 10 Mar 2017  路  3Comments  路  Source: Polymer/polymer

Today, I stay all day testing the new polymer 2.0. But, I stayed 3 hours to discover a bug that my property observer did not working. And finally I discovered why, because I did not called the super.ready() inside my ready call back.
It will be awesome that shows a warning or error warning to call super inside the life cycle hook. Because the logic inside the function was working perfectly. I cannot guess that we need to call the super.

Sorry my lack of English and knowledge. But i'ts my opinion.

Thank you for the great job that polymer team is doing.

2.x linter-tool

Most helpful comment

This should probably be a feature request for polylint or polymer-linter.

All 3 comments

This should probably be a feature request for polylint or polymer-linter.

Looks like this was added to linter in Polymer/polymer-linter#53

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paranoid-android picture paranoid-android  路  3Comments

nazar-pc picture nazar-pc  路  4Comments

alexhx5 picture alexhx5  路  3Comments

fabysdev picture fabysdev  路  3Comments

jimmc picture jimmc  路  3Comments