{"repo":"react-R/reactR","free":true,"listed":false,"github":"https://github.com/react-R/reactR","clone":"git clone https://github.com/react-R/reactR.git","description":"React for R","language":"JavaScript","stars":418,"topics":["react","reactjs","rstats","r","package","cran","javascript","html","htmlwidgets","web"],"license":null,"category":"ui-components","readme_excerpt":"reactR reactR provides a set of convenience functions for using React in R with htmlwidget constructor templates and local JavaScript dependencies. The React ecosystem is rich with components that can enhance R web and Shiny apps. scaffoldReactWidget() helps build htmlwidgets to integrate these React components as R htmlwidgets . scaffoldReactShinyInput() does the same for Shiny inputs. The local dependency functions are modeled after the html dependency functions from RStudio’s rmarkdown package. Installation You can install reactR from CRAN with install.packages(\"reactR\") . For the development version, please use devtools as shown below. Creating htmlwidgets with React Components To wrap a React component as an htmlwidget , please see the tutorial htmlwidgets with reactR. Also, there are a variety of examples in the react-R Github organization. reactable is a very well-built htmlwidget leveraging this functionality. Shiny Outputs and Inputs htmlwidgets built with reactR work well in Shiny as outputs. In version 0.4.0 Alan Dipert has added the ability to easily create React-based official Shiny inputs with helpers and scaffolds. Please see the tutorial for more details. Examples Below are examples of using reactR directly. reactR uses the V8 package if available to transform JSX and ES2015 code with babel . Contributing and Code of Conduct We welcome contributors and would love your participation. Please note that this project is released with a Contributor Code of Conduct. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/react-R","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/react-R/reactR/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}