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() -> Element { rsx! { GoBackButton { "Back to the Past" } GoForwardButton { "Back to the Future" } } }
As you might know, browsers usually disable the back and forward buttons if
Importantly, neither WebHistory
supports that feature.
However, in both cases, the router will just ignore button presses, if there is
Also, when using WebHistory
, the history buttons might