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
The rules do not apply to components that share your reference. It is possible to use React hooks inside a component that uses forwardRef. The other rules are not triggered either.
Visual proof:
