In the same vein there's Mithril. It's 8kb but includes a router and a fetch polyfill!
I love these little JS frameworks :)
I love these little JS frameworks :)
You can see a great presentation of the technique in this video: https://youtu.be/hEGg-3pIHlE
I also avoid keeping state on components. I know this is controversial and it requires a bit of overheard. However, the simplicity offered by having all state in a single object is worth it for me.