The DOM elements aren't stateless, but they will behave like they are if you update every attribute that can change in the `$update` function.
Really all you're doing is mutating the DOM objects themselves, but one of them is this magic `$update` function that runs every time one of that element's attributes changes I think. The framework just provides a proxy object for accessing the attributes, and every cell is extensible with custom data and functions. For some fun try overwriting `this.$update` in `$update`.
Another thing I totally missed at first is the fact that you can embed a <script> containing a variable with the `$cell` property anywhere in the page and the cell will show up in that part of the DOM, and you can do this as much as you want.
I consider TypeScript (or Elm) support a best practice for "JavaScript" development, so something that brags about not having a development workflow is a non-starter. It's not only not a pain for me, it's a significant missing feature.
If it's something that has to be maintained for more than a month, use Typescript or Flow. Just do it. Everything else is a PITA.
If it's just something you want to whip up quickly and won't be maintained, jumping through all the hoops of npm, building and bundling is just annoying.
True, but how useful is it?
> Easy to reuse: Everything is powered by stateless functions instead of classes and objects, making it extremely modular.
Maybe it's all stateless functions under the hood, but the "hello world" code snippet includes code that mutates the DOM:
> Easy to maintain: "Development workflow" doesn't exist. No NPM, No Webpack, No Babel, just vanilla Javascript and 100% based on web standards.Are these tools really the main source maintenance pain for web developers?
In my experience the code I write is the biggest maintenance burden. I'll suffer through complex tooling if it helps me avoid maintenance anti-patterns (like storing state on DOM elements...)