For folks looking for a lightweight JS class that manages the lifecycle of Web Components, I have this little Template class I use in many of my front-end projects. It's able to manage the application state by pushing the state down through the application and bubbling changes up.
It's a 161-line file that's easy to reason about and modify as needed.
It's a 161-line file that's easy to reason about and modify as needed.
https://github.com/retrohacker/template