by amerkhalid · 8y ago · 0 comments
1. They are highly optimized for DOM changes. You can use plain JS or jQuery to manipulate DOM but that would get expensive.
2. They provide some semblance Object Oriented code organization to frontend.
For a simple app, these benefits probably are not worth it but for a complex app, these benefits outweigh the cost of these frameworks.
I keep seeing this claim, or similar ones, postulated, but in my extensive experience, using plain JS or JQuery for DOM manipulation has never resulted in noticeably slow performance, even when there was a great deal of DOM manipulation going on.
And if that were the case, I am quite confident in my ability to optimize my own code to make it performant.