shinyreact: Client-Side 'React' Interface for 'Shiny'

Server-side plumbing for the 'ui.tsx' pattern in 'Shiny': the user interface is defined in a client 'React' (<https://react.dev/>) bundle, and the 'Shiny' server contains only reactive computation. Provides page builders that discover and serve the client bundle, a render function that publishes any JSON-serializable value to the client, and custom messages to 'React' components. Ships no user interface components, so the app author owns the whole front end. The 'React' runtime and the client hooks are bundled, so no JavaScript build step is required to get started.

Version: 0.1.0
Imports: brio, cli, htmltools, jsonlite, rlang, shiny (≥ 1.13.0), utils
Suggests: knitr, later, rmarkdown, shinytest2, spelling, testthat (≥ 3.0.0), withr
Published: 2026-09-23
DOI: 10.32614/CRAN.package.shinyreact (may not be active yet)
Author: Barret Schloerke ORCID iD [cre, aut], Winston Chang ORCID iD [ctb], Garrick Aden-Buie ORCID iD [ctb], Carson Sievert ORCID iD [ctb], Posit Software, PBC ROR ID [cph, fnd], Meta Platforms, Inc. [cph] ('React' and 'ReactDOM', bundled in inst/lib/shiny/shinyreact.js)
Maintainer: Barret Schloerke <barret at posit.co>
BugReports: https://github.com/posit-dev/shinyreact/issues
License: MIT + file LICENSE
URL: https://posit-dev.github.io/shinyreact/r/, https://github.com/posit-dev/shinyreact
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: shinyreact results

Documentation:

Reference manual: shinyreact.html , shinyreact.pdf
Vignettes: Get started with shinyreact (source, R code)

Downloads:

Package source: shinyreact_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: shinyreact_0.1.0.zip
macOS binaries: r-release (arm64): shinyreact_0.1.0.tgz, r-oldrel (arm64): shinyreact_0.1.0.tgz, r-release (x86_64): shinyreact_0.1.0.tgz, r-oldrel (x86_64): shinyreact_0.1.0.tgz

Reverse dependencies:

Reverse suggests: autosync

Linking:

Please use the canonical form https://CRAN.R-project.org/package=shinyreact to link to this page.