When called interactively, renders the component in the IDE viewer panel. Otherwise, falls back to standard shiny.tag printing (raw HTML text).
Usage
# S3 method for class 'reactRouter'
print(x, browse = interactive(), ...)Details
Only the router-root constructors carry the "reactRouter" S3 class
and therefore dispatch to this method:
RouterProvider, createHashRouter,
createBrowserRouter, createMemoryRouter,
HashRouter, BrowserRouter, and
MemoryRouter. Inner pieces (Route,
Link, Outlet, hooks, ...) are plain
shiny.tag elements – printing one of those on its own is rarely
useful (it has no router context to render against), so they intentionally
fall through to the default shiny.tag print method.
