I removed Views and the Router completely, so all you have is Models and Collections.
So Skeletor is now just a persistence library without any components or view layer. Recently I also added support for TC39 Signals, computed properties and automatic persistence and hydration of data.
I still like the concept of Models and Collections, but Backbone's Views are very anachronistic and don't allow for building declarative UIs. You can turn them into Web Components (and older version of Skeletor did this), but then you might as well just use web components directly without a View providing indirection.
View all comments
1
u/__weltschmerz__ Jul 16 '26
I did something similar with Skeletor, but took it a few steps further.
https://github.com/conversejs/skeletor
I removed Views and the Router completely, so all you have is Models and Collections.
So Skeletor is now just a persistence library without any components or view layer.
Recently I also added support for TC39 Signals, computed properties and automatic persistence and hydration of data.
I still like the concept of Models and Collections, but Backbone's Views are very anachronistic and don't allow for building declarative UIs. You can turn them into Web Components (and older version of Skeletor did this), but then you might as well just use web components directly without a View providing indirection.