Skip to content

:list DSL drops :id when lowering to lazy_list — canonical list identity unreachable from the high-level API #117

Description

@GenericJam

Found during mob_new #44 review: lib/mob/list.ex:119 drops :id in the :list → :lazy_list lowering, so apps using the high-level DSL always take the generated bridge's slot-fallback state keying (and Mob.Test scroll_info/scroll_to by id only work for raw :lazy_list with a string id). Slot fallback is device-proven solid, but the canonical-id path is strictly better across slot churn. Ask: pass :id through the lowering, and add a doc line to the components guide about list identity. Low priority; behavior today is safe.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions