Re:Just Normal Web Things
by jakelazaroff on Saturday August 05, 2023 @11:54PM
(#37018852)
What is RouterLink? A quick Google search turns up some Angular thing, but I don’t think anyone was talking specifically about Angular.
[ Parent
| on HN ]
GP is talking about the component/feature present in React/Vue/Angular/etc routers that allows links to behave like normal anchor links (allowing to open in another window, etc) but also use the SPA router for navigation when possible.
I'm not making any argument here, just explaining. Also makeitdouble's idea would apply even to non-SPAs or to pages without javascript. For example, I might want to submit a form but in a new tab.
Re:Just Normal Web Things
by paulddraper on Sunday August 06, 2023 @12:47PM
(#37023866)
Sorry, RouterLink for Angular, NavLink for React router.