Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70432

The child component view duplicated while using ChangeDetectorRef detectChanges in ionic 4

$
0
0

@muru1778 wrote:

Hi all,
I am using ChangeDetectorRef - detectChanges in the parent view to detect the changes
The parent view has one child component. The child component receiving the input using following format (setter).

set name(name: string) {
    this._name = name
  }

But if there is any changes in the parent view child component gets duplicated sometimes in the parent view.If i am not using ChangeDetectorRef - detectChanges the child view not get duplicated.Here i attched the sample view

Untitled

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70432

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>