Learn R Programming

reactR (version 0.6.1)

babel_transform: 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 = "")

Value

transformed character

Arguments

code

character

Examples

Run this code
if (FALSE) {
library(reactR)
babel_transform('react div')
}

Run the code above in your browser using DataLab