Tools for Using React in Shiny

A toolbox for defining React component wrappers which can be used seamlessly in Shiny apps.


shiny.react shiny.react logo

Use React in Shiny applications.

CRANstatus cranlogs total CI

This R package enables using React in Shiny apps and is used e.g. by the shiny.fluent package. It contains R and JS code which is independent from the React library (e.g. Fluent UI) that is being wrapped.

Installation

Stable version:

install.packages("shiny.react")

Development version:

remotes::install_github("Appsilon/shiny.react")

Development

To build and install the package, run:

(cd js && yarn && yarn webpack)
Rscript -e 'devtools::document(); devtools::install()'

Testing

  • cd js && yarn lint lints the JS code
  • cd js && yarn test runs the unit tests for the JS code
  • Rscript -e "lintr::lint_package()" runs linter for the R code
  • Rscript -e "devtools::test()" runs unit tests for the R code

How to contribute?

If you want to contribute to this project please submit a regular PR, once you're done with a new feature or bug fix.

Reporting a bug is also helpful - please use GitHub issues and describe your problem as detailed as possible.

Appsilon

Appsilon is a Posit (formerly RStudio) Full Service Certified Partner.
Learn more at appsilon.com.

Get in touch [email protected]

Explore the Rhinoverse - a family of R packages built around Rhino!

We are hiring!

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("shiny.react")

0.4.0 by Jakub Sobolewski, 2 years ago


https://appsilon.github.io/shiny.react/, https://github.com/Appsilon/shiny.react


Browse source code at https://github.com/cran/shiny.react


Authors: Jakub Sobolewski [aut, cre] , Kamil Żyła [aut] , Marek Rogala [aut] , Appsilon Sp. z o.o. [cph]


Documentation:   PDF Manual  


LGPL (>= 3) license


Imports glue, htmltools, jsonlite, logger, methods, purrr, rlang, shiny, stringi

Suggests chromote, covr, knitr, leaflet, lintr, rcmdcheck, rmarkdown, shinytest2, styler, testthat, withr


Imported by muiCharts, muiDataGrid, muiMaterial, muiTreeView, reactRouter, shiny.blueprint, shiny.fluent, shinyNextUI.

Suggested by rhino.


See at CRAN