3 ms·
I don't dislike it, but how does this differ from e.g. Vue? And does it know which functions changed, or does it run the top-level function on each update? For
by tgv 1y ago
I don't dislike it, but how does this differ from e.g. Vue? And does it know which functions changed, or does it run the top-level function on each update?
For those who prefer HTML: I'm sure this can be adapted with JSX or a template pre-processor.
- vanviegen 1y ago> I don't dislike it That must count for something! :-) Re "Vue": https://news.ycombinator.com/item?id=43937303 https://news.ycombinator.com/item?id=43937303 When running a function through `$()`, it will keep track of proxied data that was read, and of all DOM changes made. When data changes, DOM changes are reverted, and the function is rerun. As at least such a function exists for each DOM element that has children, it's pretty finegrained. Also, Aberdeen is smart about reactive iteration. With enough transpiler magic, impossible is nothing! :-)