Learn R Programming

shiny.react (version 0.4.0)

ReactContext: React context

Description

Render children with React.

Usage

ReactContext(...)

Arguments

...

Children to render.

Examples

Run this code
if (interactive()) shinyApp(
  ui = shiny.react:::ReactContext(
    "This text is rendered by React"
  ),
  server = function(input, output) {}
)

Run the code above in your browser using DataLab