Skip to content

shinyreact

0.1.0Package record

Client-Side 'React' Interface for 'Shiny'

0packages dependsuggested by 2
526downloads / year
92.8%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.1.0
  • Initial CRAN release. shinyreact is the server-side plumbing for the ui.tsx pattern: the UI is a React client you own, and the Shiny server contains only reactive computation. It ships no UI components.
  • Dependencies of traditional Shiny outputs hosted inside a React tree are discovered automatically and pushed to the client after each flush, so the ShinyOutput component works with zero configuration.
  • Bookmark restore values reach the client through the #shinyreact-config script tag, and the client asserts the wire-protocol major version at boot.
  • page_react() serves www/ui.js (and www/ui.css, if present) as the whole page, with no HTML file required. page_react_html() serves a complete index.html that you own, page_bare() builds a page with no Bootstrap, and page_react_dep() wraps an app's own bundle as an htmlDependency() versioned by its mtime.
Show all changes in 0.1.0Hide the rest of the changes in 0.1.0
  • reactive_output() publishes any JSON-serializable value to the client's useShinyOutputValue() hook, with no UI placeholder.
  • send_message() sends a custom message to the client's useShinyMessageHandler() hook, namespaced to the current module.
  • shinyreact.default and shinyreact.asis input handlers give R and Python the same view of the JSON a useShinyInput() hook sends: records stay lists, [] stays list(), and nested arrays keep their shape.
  • wire_tap() reads the websocket payloads a shinytest2 AppDriver recorded, so tests can assert the exact inputs, outputs, and messages that crossed the wire.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.5 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OKNow
  • OK3 OK2026-09-23
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 206 wordsVignettesYes · 1 · staticNEWSYes · 67% structured · mentions 0.1.0Citation fileNoWebsiteYes
Help pages
11 (4 internal)includes a package overview page
Examples that run
100%7 run in a plain check (1 of them under a condition)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

526
CRAN downloads in the past year
Rank #23,667 · ~1/day · ~44/mo
Daily download trend is not available in this view yet.
52630 days
52690 days
5261 year
Compare downloads with other packages →
Also on5 r2u1 autocran

Repository

25Stars
3Forks
27Open issues
0Open PRs
2Releases
193Commits
2Commit identities
License file reads as MIT · 193 commits · Last activity 2026-09-23 · +78.6% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
94%
Median days to close, 50 most recently updated closed issues
8
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-09-23 · 142026-10-15 · 25
PracticesBeta

7 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/posit-dev/shinyreact on 2026-10-11.

Continuous integration (1)
GitHub Actions
Governance and community (1)
Code of conduct
Docs source (2)

GitHub Pages site last deployed 2026-09-23 · The repository has a site deploy workflow

Reproducibility and dev environment (1)
Makefile
Show all practicesHide 2 practices
Automation and maintenance (1)
pre-commit
Lint, format, editor (1)
VS Code
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Cursorfirst seen on or before 2026-03-02
    Named in .gitignore: .cursorignore
  • GitHub Copilotfirst seen 2026-03-02
    Pull request: opened by its own account
    Commits: at least 1 crediting it in the message
  • Claude Codefirst seen 2026-03-05
    Seen in the repository: .claude, .claude/skills, CLAUDE.md
    Named in .gitignore: .claude
    Pull request it wrote: opened by a project member
    Commits: at least 33 crediting it in the message
Models named in its commits
  • Claude Opus 4.618 commits · Mar to May 2026
  • Claude Sonnet 4.615 commits · Mar 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing shinyreact adds 31 packages (20 with compiled code, 25 MB of source tarballs). Heaviest: bslib 5.6 MB, promises 3.1 MB, sass 2.9 MB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

People & History

People (6)
Maintainer since 0.1.0 (2026), Author
Contributor
Contributor
Contributor
Copyright holder
'React' and 'ReactDOM', bundled in inst/lib/shiny/shinyreact.js
Copyright holder, Funder
Releases (1)
  • 0.1.0Latest
    2026-09-23 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-09-23
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Download size
150 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("shinyreact")
Schloerke, B., Aden-Buie, G., Chang, W., Meta Platforms, Inc., , Posit Software, PBC, , & Sievert, C. (2026). shinyreact: Client-Side 'React' Interface for 'Shiny' (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.shinyreact

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for shinyreact version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy