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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
At some point, I made a simple class
component
class, it had ael
property. and some methods to add and remove other components. some components usedunderscore
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.