Skip to content
Discussion options

You must be logged in to vote

It's a false positive in the lint rule
refs is a plain object and setFloating is a state setter (used as a callback ref). No refs are being read in render.

Seems like there's a bug with how refs are inferred: react/react#34775

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@silverwind
Comment options

Answer selected by silverwind
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
React
Labels
None yet
3 participants