Defining the frontend framework
We will continue from the previous chapter by reusing the example Componium framework project. In Chapter 7, we created several features that allow us to interact with server-side routes, define APIs, and query a database. Currently, there is no way to develop frontend components to either consume those APIs or add visual interfaces using our framework. Without the frontend part of our framework, a developer needing to build an interactive interface, hosted using a Componium server, would need to include an external library and statically serve additional application files from the server.
Therefore, we will change the lack of frontend features by creating several frontend features that will allow framework users to create client interfaces. These frontend features will mimic some of the complex features of the existing established frontend frameworks. For instance, our approach to reactivity features inside the components will include the basics...