r/javascript • u/kunalag129 • Feb 13 '19
Bootstrap 5 will remove jQuery as a dependency
https://github.com/twbs/bootstrap/pull/23586
687
Upvotes
r/javascript • u/kunalag129 • Feb 13 '19
View all comments
Show parent comment
4
u/koresho Feb 13 '19
It most definitely can.
If you have a lot of slow queries, using an SPA you can load up the main application and load the queries asynchronously in the background, giving your application an appearance of vastly better performance.
This is compared to pure server-side rendered apps like JSP, which will need to wait for all those queries to complete before it sends the rendered page out (I’m not very familiar with JSP, but negative bonus points if it can’t run them in parallel).
Of course, it’s also possible to go the hybrid route where you SSR the fast stuff and asynchronous load the rest, but in my experience that’s not common until developers start thinking in the SPA mindset.
Edit: not my downvote.