Today I Learned - Rocky Kev

TIL Bootstrap 5 removing jQuery will reduce about 83kb of loading time

POSTED ON:

TAGS:

Switching from Bootstrap 4 to Bootstrap 5:

On 16th June of 2020, Bootstrap 5-alpha1 has been officially launched dropping jQuery as a dependency and also removing browser support for Internet Explorer 10 and 11. This came as a big surprise to the developers, especially the decision to no longer support Internet Explorer browsers.

Removing jQuery as a dependency comes as a welcoming update for two main reasons:

You will save up to 82.54 KB for the loading time
Many of the features of jQuery can now be done natively with Vanilla Javascript
You can read a tutorial on Bootstrap 5 and how to use it without jQuery.

REFERENCE:
https://themesberg.com/blog/tutorial/bootstrap-5-tutorial
https://themesberg.com/knowledge-center/bootstrap/what-is-bootstrap


Related TILs

Tagged:

TIL how Svelte is different fom Vue/React

TIL about Micro-frontends

Micro frontends are a new pattern where web application UIs (front ends) are composed from semi-independent fragments that can be built by different teams using different technologies.

TIL about Partial Hydration

Partial rehydration is an extension of the idea of progressive rehydration where individual pieces of a server-rendered application are 'booted up' over time. This contrasts with the approach of initializing the entire application at once.