Closed mastoj closed 4 years ago
Hello @mastoj, I guess you are looking for something like Router.format
? Should be easy to add, just copy pasting a bunch of Router.navigate
but instead returning a string instead of command.
Do you want to take a stab at it 🙏 ? PRs are always welcome :smile:
That was what I was planning as well :).
I just wanted to make sure it makes sense first.
That would be really awesome :heart:
Router.navigate
is really nice when navigating programmatically. However, it would be nice to have the same thing when setting thehref
on aa
tag. Basically I would like to write:I can have a simple work around with
prop.onClick
but doesn't it make sense to have what I suggest?