You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using createRef in a function component is almost always a mistake because it will create a new ref on every render. Usually you want useRef (see this discussion). Since this is such an easy mistake to make, it would be helpful to have a linter rule to flag it.