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.