Skip to contents

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/link

Usage

Link(..., reloadDocument = TRUE)

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

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

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.

Value

A Link component.