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
There is a new prop here that allows you to add a ref onto anchor tags. Without spending more time digging deep - I’m not sure why this was added and why the existing href wasn’t sufficient.
It looks to be like maybe this ref was added so that we could also navigate to the same URL from an anchor tag in a different onClick function in the same file - but if this proves to be the case I would recommend just navigating using the onClick vs creating a ref to call .click(), and then we don't need the ref change.
The text was updated successfully, but these errors were encountered:
There is a new prop here that allows you to add a ref onto anchor tags. Without spending more time digging deep - I’m not sure why this was added and why the existing href wasn’t sufficient.
It looks to be like maybe this ref was added so that we could also navigate to the same URL from an anchor tag in a different onClick function in the same file - but if this proves to be the case I would recommend just navigating using the onClick vs creating a ref to call .click(), and then we don't need the ref change.
The text was updated successfully, but these errors were encountered: