I am working in an Ionic Application and I got I stuck with two choices either to build every single page for each UI design or use dynamic main page with if else condition in html files .
....
.. .... APPLY NOW<div *ngIf="role == 'somethingtwo';">
<ion-row text-center>
<p> .... </p>
</ion-row>
<ion-list>
<ion-item no-lines ngFor="let two of tow | async; let ..">
..
....
</ion-item>
</ion-list>
<button ion-button block (click)=“doSomeThing(‘somethingtwo’)” color=“core”>APPLY NOW
Also Please consider the TS file.
Is it good practice? Will the performance of application degrade if I follow the above concept
Please share me your advice
Thanks…