If you like my articles, you can buy me a coffee :)
JavaScript Performance Optimization
Most of us write code with JavaScript. Howeve...
For further actions, you may consider blocking this person and/or reporting abuse
Thanks for this👍
You're welcome! I'm glad you found it helpful!
Bravo! Short and nice 👍🏼
Thank you! Your feedback means a lot to me. I'm glad you enjoyed the article!. ositive feedback like this motivates me to keep writing
About const/let, make const first choice and as soon it has to be reassigned make it let. In case it happens that you forget, you will be reminded by the browser's dev.
Also, work modular. That way you can slice the cake in managable and reusable pieces.
you are right, In objects and arrays, using const prevents the reference from being changed, but allows the values within them to be modified.
Tnx for this , so usefull
Thank you! Your feedback means a lot to me. I'm glad you enjoyed the article!. ositive feedback like this motivates me to keep writing
Keep it up cheif
Very valuable and informative content. Keep writing. Nice guys .....
Thank you very much for your valuable feedback! I'm glad you found the article useful. Support from readers motivates me to continue creating more content.
Event should only be removed when the element will no longer be used right?
Yes. It is important for performance to only remove event listeners when the element is no longer used or unnecessary. unnecessary event listeners can cause memory leaks
this is a silly collection of old fashioned tips, is this generated with ai?
This isn't a silly collection of old fashioned tips. Try to be respectful. Wasn't it generated with ai. If you have a better idea, you can share it.