The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

reactRouter

Lifecycle: experimental CRAN status R-CMD-check LinkedIn

The goal of reactRouter is to provide a wrapper around React Router (v6).

Usage

You can easily add URL pages in Quarto document or R shiny like so:

library(reactRouter)

HashRouter(
  NavLink(to = "/", "Main"),
  NavLink(to = "/analysis", "Analysis"),
  Routes(
    Route(path = "/", element = "Main content"),
    Route(path = "/analysis", element = "Analysis content")
  )
)

Install

#remotes::install_github("lgnbhl/reactRouter") # development version

install.packages("reactRouter")

More tutorials

Read the vignette here for detailed use cases with Quarto and R Shiny.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.