Hello and welcome to my new blog series on the JavaScript Ecosystem. I hope you and everyone in your acquaintance are staying safe and healthy in these unprecedented times. I am starting this blog series as a part of a new venture of exploring and practically implementing different libraries in JavaScript and Node.js. I wish to structure this series in a way that assists web developers in exploring and getting started with a new library, framework, or technical concept. Hope you guys enjoy learning!
In the first blog post of this series, let’s not talk about any libraries and frameworks but let’s dive into Vanilla JavaScript _(No Libraries. No Frameworks. Just the programming language JavaScript)_and implementing the concept of Web Components without using any existing libraries or frameworks. Web Components have played a huge role in driving modern web user interfaces and the underlying concept is used as the basis of the architecture of many web applications built using frontend frameworks like ReactJS, VueJS, and Angular. According to MDN docs:
Web components can be defined as a suite of different technologies allowing you to create reusable custom HTML elements with their functionality encapsulated away from the rest of your code and utilize them in your web apps.
The concept of simple browser-based web components consists of three main technologies:
Let’s try to implement these technologies in a simple project.
#vanillajs #javascript #programming #web-development #web-components