-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
I don't believe this code will work as expected:
Line 56 in c0abcb9
[ref.current] |
A change in a ref will not case a re-render, so there's no guarantee that this effect will be called. I'd suggest refactoring it to accept an empty array - it'll work the same.
OliverJAsh
Metadata
Metadata
Assignees
Labels
No labels