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

Hi All,there is a question, I want create a Animation component container, need to use the findDOMNode Api to continuely modify the container's height style, But the plugin claimed me that Line 37: Do not use findDOMNode react/no-find-dom-node, how can I deal with it? #1606

Closed
daffy6537 opened this issue Dec 14, 2017 · 3 comments
Labels

Comments

@daffy6537
Copy link

help me please, the ref can not meet my needs

@ljharb
Copy link
Member

ljharb commented Dec 14, 2017

If the rule conflicts with your use case, override the rule for that use case.

(linking to #785 (comment))

@daffy6537 daffy6537 reopened this Dec 18, 2017
@daffy6537
Copy link
Author

daffy6537 commented Dec 18, 2017

@ljharb thank you very much!!

it still warn "Do not use findDOMNode react/no-find-dom-node" when I had commited that line
using "// eslint-ignore-line react/no-find-dom-node", but "// eslint-disable-line " was effective.

@ljharb
Copy link
Member

ljharb commented Dec 18, 2017

That's because eslint-ignore-line isn't a thing; just eslint-disable-line and eslint-disable-next-line.

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

No branches or pull requests

2 participants