The current model of triggering navigation with onClick={navigate(foo)} does not allow the link to be link-like; e.g. you cannot open the link in a new tab or window.
Possible solution: Since the rails routes knows what to do with every un-caught route, and the App router does too, we can use <a> tags for navigation.
Downside: more api calls with this method.
The current model of triggering navigation with
onClick={navigate(foo)}
does not allow the link to be link-like; e.g. you cannot open the link in a new tab or window.Possible solution: Since the rails routes knows what to do with every un-caught route, and the App router does too, we can use
<a>
tags for navigation. Downside: more api calls with this method.Related: #4.