Skip to content

Implement Immutable Sequences #2

@RickButler

Description

@RickButler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions