Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

ViewPorts should expose information about views scheduled to be created #1582

Open
@jbdeboer

Description

@jbdeboer

I have a decorator that modifies it state if it has a View in its ViewPort. e.g.

bool get hasViews => _viewPort.views.isNotEmpty;

Since Views are inserted during the domWrite phase, this getter will flip values during that phase causing a Caught Observer reaction functions should not change model. error.

ViewPort should expose the set of Views that are scheduled to be created, so I can watch that field instead and update my state at the correct time. (Now, I have a 0 duration timer hack).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions