Skip to content

Commit

Permalink
Add component lifecycle in dev for devtools.
Browse files Browse the repository at this point in the history
  • Loading branch information
刘斌 committed Dec 17, 2020
1 parent 1adeb17 commit a8e65a5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/view/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,6 @@ function Component(options) { // eslint-disable-line
// #[begin] reverse
var reverseWalker = options.reverseWalker;
if (this.el || reverseWalker) {
this._toPhase('beforeCreate');

var RootComponentType = this.components[
this.aNode.directives.is ? evalExpr(this.aNode.directives.is.value, this.data) : this.aNode.tagName
];
Expand Down Expand Up @@ -324,7 +322,6 @@ function Component(options) { // eslint-disable-line

this._toPhase('created');

this._toPhase('beforeAttach');
this._attached();
this._toPhase('attached');
}
Expand Down

0 comments on commit a8e65a5

Please sign in to comment.