Learn R Programming

reactRouter (version 0.1.1)

NavLink: NavLink

Description

The `reloadDocument` can be used to skip client side routing and let the browser handle the transition normally (as if it were an <a href>). Given shiny behavior, using `reloadDocument = TRUE` allows to render correctly objects created in the server side.

https://reactrouter.com/6.30.0/components/nav-link

Usage

NavLink(..., reloadDocument = TRUE)

NavLink.shinyInput(inputId, ..., reloadDocument = TRUE)

updateNavLink.shinyInput( session = shiny::getDefaultReactiveDomain(), inputId, ... )

Value

A NavLink component.

Arguments

...

Props to pass to element.

reloadDocument

Boolean. Default TRUE. Let browser handle the transition normally

inputId

ID of the component.

session

Object passed as the `session` argument to Shiny server.