Skip to content

state type defined after component gives state type escape scope error #80

@chenglou

Description

@chenglou

Solution: first define type state then declare component

Basically, createComponent returns something of type component 'state for a not yet defined 'state. Then state gets defined later and you get the error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions