Skip to content

Write a lint check to prevent accessing render's state inside actions #74

Open
@zach-klippenstein

Description

@zach-klippenstein

Wrong:

action { nextState = state.copy() }

Right:

action { nextState = nextState.copy() }

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlintWe wish for a lint check

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions