Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
arild-haugstad opened this issue Jan 16, 2016 · 1 comment

Comments

@arild-haugstad
Copy link

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."

@yannickcr
Copy link
Member

That's a bug, ref should be completely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants