Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yea I use <a> if it's a navigation button for react-router. But it still shows up like a URL because we're using the Browser history (it just updates the URL and renders the new page, each route has a URL and resource id's are in the url). As opening the URL directly should work (if authenticated) it makes sense to use <a> tags.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: