After Mini Program has a custom component

what is the use of templates after Mini Program has custom components?

feels like what a template can do. Custom components can be done, but also more powerful,

so I want to ask, are there any templates that can do scenarios that custom components cannot?


I use components now, and it's troublesome for templates to refer to styles if they have styles.

if only wxml can use templates, such as something fixed. However, you can also use components instead, but there will be a few more files.


I think of a point here: when you write code for multiple components, but do not want to combine these components into a large component, it is more appropriate to use templates

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38eb6-41192.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38eb6-41192.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?