I have css and js files in clientLibs folder, and also I have created a component. My question is if I drag the same component three time on my website, how many times will the css and js be applied.
With client lib feature we can categorize every JS and CSS file as a library and can include/import them in individual component or template . If on a page there are multiple component that needs the same library then CQ will make sure that the library is loaded only once.
With client lib feature we can categorize every JS and CSS file as a library and can include/import them in individual component or template . If on a page there are multiple component that needs the same library then CQ will make sure that the library is loaded only once.