Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
updated () {
render(this.$el.parentNode.insertBefore(this._ = document.createElement('span'), this.$el).appendChild(this.$el))
}
}updated () {
render(this._ = this.$el.firstChild)
}
}componentDidMount () {
render(this._ = ReactDOM.findDOMNode(this).firstChild)
}
componentWillUpdate () {componentDidUpdate () {
render(this._ = ReactDOM.findDOMNode(this).firstChild)
}
}ngAfterViewChecked() {
this._ || render(this._ = this.el.nativeElement.firstChild)
}
}