Skip to content

Commit 5fb7aaa

Browse files
add a note about Shiny in Readme
1 parent aee299f commit 5fb7aaa

File tree

5 files changed

+21
-6
lines changed

5 files changed

+21
-6
lines changed

README.Rmd

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ devtools::install_github("react-R/reactR")
3434

3535
To wrap a `React` component as an `htmlwidget`, please see the tutorial [htmlwidgets with reactR](https://react-r.github.io/reactR/articles/intro_htmlwidgets.html). Also, there are a variety of examples in the [react-R Github organization](https://github.com/react-R).
3636

37+
## Shiny?
38+
39+
Currently, `htmlwidgets` built with `reactR` work well in Shiny as outputs. In the next version we hope to have a mechanism for input in Shiny contexts.
40+
3741
## Examples
3842

3943
```R
@@ -60,7 +64,7 @@ browsable(tagList(
6064
))
6165
```
6266

63-
`reactR` also uses the `V8` package if available to transform `JSX` and `ES2015` code.
67+
`reactR` uses the `V8` package if available to transform `JSX` and `ES2015` code with `babel`.
6468

6569
```R
6670
library(reactR)

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ reactR](https://react-r.github.io/reactR/articles/intro_htmlwidgets.html).
3434
Also, there are a variety of examples in the [react-R Github
3535
organization](https://github.com/react-R).
3636

37+
## Shiny?
38+
39+
Currently, `htmlwidgets` built with `reactR` work well in Shiny as
40+
outputs. In the next version we hope to have a mechanism for input in
41+
Shiny contexts.
42+
3743
## Examples
3844

3945
``` r
@@ -60,8 +66,8 @@ browsable(tagList(
6066
))
6167
```
6268

63-
`reactR` also uses the `V8` package if available to transform `JSX` and
64-
`ES2015` code.
69+
`reactR` uses the `V8` package if available to transform `JSX` and
70+
`ES2015` code with `babel`.
6571

6672
``` r
6773
library(reactR)

docs/articles/intro_htmlwidgets.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/intro_reactR.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)