Hello
for using some plugin like Social Sharing or Storage , … we can use them in page or use them in service and call from page.
i want to know which scenario is more performance ?
-
import and use some reusable plugin and function and call them in pages
-
in any page that we need some reusable function or plugin, import and use it in same page
Thanks