Skip to content

LayerTree does not need to store LayerTreeNode in the state #2015

@simonseyock

Description

@simonseyock

The LayerTreeNode does not need to get stored in in the state. In fact it is discouraged to store react elements in the store. This was causing typing issues. The generation of the nodes can be wrapped in a memoize function.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions