acornjs / acorn-jsx

Alternative, faster React.js JSX parser
MIT License
648 stars 72 forks source link

Readme. Parse AST back to JSX #121

Closed Seanmclem closed 3 years ago

Seanmclem commented 3 years ago

The readme mentions parsing JSX to an AST, but can it parse AST back to JSX?

Is there additional documentation anywhere? The readme is pretty sparse.

Adam-Collier commented 3 years ago

@Seanmclem did you find a way to do this? I'm looking to do this myself

Seanmclem commented 3 years ago

@Seanmclem did you find a way to do this? I'm looking to do this myself

I ended up using babel to parse. I'm add some code samples momentarily