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

no-null: Exclude useRef(null) and React.useRef(null) #890

Merged
merged 4 commits into from Oct 21, 2020

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Oct 21, 2020

Fixes #888

@sindresorhus sindresorhus changed the title no-null: exclude useRef(null) and React.useRef(null) no-null: Exclude useRef(null) and React.useRef(null) Oct 21, 2020
@sindresorhus sindresorhus merged commit 7a4dbf4 into sindresorhus:master Oct 21, 2020
@fisker fisker deleted the react-use-ref branch October 21, 2020 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Best practice for using useRef alongside eslint(unicorn/no-null)
2 participants