babel_transform {reactR} | R Documentation |
Transform Code with Babel
Description
Helper function to use V8
with Babel
so we can
avoid a JSX transformer with using reactR
.
Usage
babel_transform(code = "")
Arguments
code |
|
Value
transformed character
Examples
## Not run:
library(reactR)
babel_transform('<div>react div</div>')
## End(Not run)
[Package reactR version 0.6.0 Index]