We all know that for a customs web designing issue there are many solutions and various methods and ways, but this question has always existed, i.e about what the advantages/disadvantages (pros/cons) of each of them are.
For example, by using
hook_preprocess in the theme file we can add our desired styles to custom blocks or regions,
and reduce our needs to keeping multiple twig templates compared to times we use twig template to add our styles.
I want to be able to use those criteria (pros/cons) to decide which one is recommended in specific situations by considering indicators such as:
- Efficiency and Loading speed