Link vs NavLink #11921
binarykitchen
started this conversation in
General
Link vs NavLink
#11921
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since I started your cool library recently, I've noticed one painful thing:
Should I pick the
Link
orNavLink
React component?Which one and why?
After reading the documentation about 10 times, to me it seems both are very similar (correct me if I am wrong).
NavLink comes with extra states like active, pending and transitioning. Link not.
If you want to keep this library simple, why not merge both components into one? Worry about performance later.
Just raising an idea here. Thanks for all the hard work so far ...
Beta Was this translation helpful? Give feedback.
All reactions