Implement Lazy.js/Immutable.js style sequences as the collection types used and returned by SquidJS functions.
Everything as/is a Sequence.
Auto-convert Node/Element/HTMLElement and their derived types to SquidElements.
- Who should track changes? Sequence or SquidElement?
- Should SquidElement lazily create virtual-dom object?
- Should Sequence call virtual DOM diff on each element for a Render or grab all SquidElements and pass them at once?
- What should peeking the element do? create virtual DOM representation at that point? Peek the actual element?
A Sequence needs to be aware that is operating on multiple elements, and apply those changes in a single requestAnimationFrame when Render is called.
Implement Lazy.js/Immutable.js style sequences as the collection types used and returned by SquidJS functions.
Everything as/is a Sequence.
Auto-convert Node/Element/HTMLElement and their derived types to SquidElements.
A Sequence needs to be aware that is operating on multiple elements, and apply those changes in a single requestAnimationFrame when Render is called.