Have you ever had a requirement of replicating similar functionality across multiple locations in your application? One brute force way to tackle this problem is to create multiple ion-modal components in your template files. However, a smarter and more efficient approach is to create a shared component.
Share this post
How to create Shared Component - the Ionic…
Share this post
Have you ever had a requirement of replicating similar functionality across multiple locations in your application? One brute force way to tackle this problem is to create multiple ion-modal components in your template files. However, a smarter and more efficient approach is to create a shared component.