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
Add a NavLink from react-router to a button, ex: <Button as={NavLink} to={"/members/" + user.id}>Click</Button>
Expected Result
no warnings
Actual Result
Warning: Stateless function components cannot be given refs. Attempts to access this ref will fail.
Check the render method of `Button`.
in NavLink (created by Button)
in Button (at MembersPendingAssignments.js:35)
Is it a bug or I shouldn't use the button this way? Any alternatives to get a button working as a link that changes in styling or should I manage the styling manually and use just a Link instead?