4 ms·
it all comes down to load times. because users will leave if a page takes a long time to load, the less code you have to transfer over the wire, the better. it
by ultimatedelman 13y ago
it all comes down to load times. because users will leave if a page takes a long time to load, the less code you have to transfer over the wire, the better. it is different from server side code because it must be transferred and executed by the user.
also, this applies heavily to mobile. not everyone has high-speed internet connections or wifi on their phones, so the less data transfer you have, the faster your page will load, and the less likely your user will leave before it's done loading.