Custom Components: When and why to use?

For now I have been using Ionic as I was building a simple web site:
Some pages directly have content in them, some load it from a data storage to be dynamic. The HTML is individual for every page, mostly copy/pasted and then adapted to the specific needs, mostly using default Ionic components along the way. Repeating “elements” that appear on several pages got an identical CSS class and where styled globally via “app.scss”

That worked pretty well during the learning phase, but now I am looking for making things more stable. One way seems to be to create custom components for some of the “repeating” or more complicated stuff.

When and why do you use custom components?
Anything I should read?

1 Like

Personally, “any time I’m using something in more than one place”, and “to avoid copypasta in templates as much as possible”.

1 Like