@rahul234dabasyes the reported behavior is expected and it is browser behavior as when you open component A, js is pulled to browser, so all subsequently actions will have the js functionality. May I know what are you doing with custom clientlib? So I can guide if we can restrict it's execution only...