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

react/jsx-no-bind: Dealing with the state hook #2430

Closed
ghost opened this issue Oct 2, 2019 · 2 comments
Closed

react/jsx-no-bind: Dealing with the state hook #2430

ghost opened this issue Oct 2, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 2, 2019

@ghost ghost closed this as completed Oct 2, 2019
@draperunner
Copy link

@kdex Does jsx-no-bind stop complaining if you're using useCallback? If that's the case I think the docs for this rule should be updated with hooks examples. It should probably be updated with some mention about function components anyhow.

@ljharb
Copy link
Member

ljharb commented Oct 3, 2019

a PR to update the docs to add hooks examples seems very useful.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants