DEV Community

Discussion on: how to develop a UI Library in Javascript?

Collapse
 
bias profile image
Tobias Nickel

At some point, I made a simple class component class, it had a el property. and some methods to add and remove other components. some components used underscore templates to create compex internal structure. when creating components and removing components, you would register and remove event handler. It was an electron app, but for a single page application, I would love to use page.js for routing.

However, I think today, the js community want to build apps more in a declarative way as in todays modern frameworks like vue, react, angular.

I really enjoied studying cito.js. It is a virtual dom library and its source is short in a single file.

disclaimer: I am good with frontend, but mostly work on the backend and always keep my mind open for new ideas. Developing your own framework, is maybe not the most productive, but you will learn a lot and can have lots of fun.