Framework building blocks
Just like most programming languages, JavaScript, and its extensions such as TypeScript, have the fundamental features of working with numbers, strings, Booleans, conditional logic statements, and much more. The more advanced features are built on top of those fundamentals. The frameworks utilize existing interfaces, such as events and modules. However, they also create their own build blocks, by defining interfaces to create components, routers, and others.
In this section, we are going to examine both existing interfaces and custom ones. We are going to look at some of the common interfaces, which can be combined to make a framework. These are the abstracted entities that solve particular problems in application development and are beneficial to their users.
Events
Event binding and events are everywhere in JavaScript applications. They enable frontend user interfaces and interactivity through buttons, forms, pointer movement, keyboard keys, scrolling...