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

unnecessary checkInitialRef on child initial or substate #35

@mattoshry

Description

@mattoshry

checkInitialRef(state);

state.initialRef = initialChildren.length ? initialChildren[0] : state.states[0];
checkInitialRef(state);

When initialRef is set to the first <initial> or child <state> the reference is guaranteed to be valid given that the current state is a composite.

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