Which one should I use inside a SPA application?? Considering the user Experience.
I have designed my applications using React with some personal rules, but which one would be the right way to use?
Buttons:
Links
Like I said, getting confuse here to distinguish the use and purpose of each one.
Generally, my distinguishing factor is that Buttons execute an action whereas Links navigate you to a different portion of a website, generally undoable with the back button.
Some common Buttons:
Some Common Links:
As a metric for which to use, I usually like to ask if the thing I'm doing would be able to be undone with the back button on the browser. You can't "back button" a login request, or a tweet, but you can "back button" navigation to your profile on facebook or a link on reddit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With