Helper function to use V8 with Babel so we can avoid a JSX transformer with using reactR.

babel_transform(code = "")

Arguments

code

character

Value

transformed character

Examples

if (FALSE) {
library(reactR)
babel_transform('<div>react div</div>')
}