My web app has many jquery custom components, in which most of them needs outside(body click) click to hide them. So the body have many click events with different namespace. Today my superior told me that application becomes slow (I have recently added some body click events)
Binding many click events will affect the applications overall performance. If it does, how shall i increase the performance without affecting the existing functionalities.
Thanks.
You can have as many click events to the same element as you want without worrying about performance issues.
Instead of doing this
Do this