Skip to content

[jsx-handler-names] Document or remove undocumented special case for ref #396

@arild-haugstad

Description

@arild-haugstad

With the current documentation, the resolution to #375 that enforces that callbacks for ref have prefix handle is somewhat surprising. It is currently not mentioned and not configurable; and I would argue that ref is not an event, hence its inclusion does not match the overall intent of the rule:
"Ensures that any component or prop methods used to handle events are correctly prefixed."

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