History Buttons
Some platforms, like web browsers, provide users with an easy way to navigate
However, native platforms usually don't provide such amenities, which means that
If you want to navigate through the history programmatically, take a look at
programmatic navigation
.
src/history_buttons.rs
fn HistoryNavigation(cx: Scope) -> Element { render! { GoBackButton { "Back to the Past" } GoForwardButton { "Back to the Future" /* You see what I did there? 😉 */ } } }
As you might know, browsers usually disable the back and forward buttons if
Importantly, neither WebHistory
]
However, in both cases, the router will just ignore button presses, if there is
Also, when using WebHistory
]