acornjs / acorn-jsx

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

Support JSXSpreadChild #75

Open ehmicky opened 7 years ago

ehmicky commented 7 years ago

See JSX AST tree.

JSXSpreadChild example: <div>{...children}</div>.

Esprima has an open issue with the same problem.

I do not think I will be able to submit a PR for this though, but I still thought it might be beneficial to report the issue.

RReverser commented 7 years ago

Hmm, I even commented on PR that introduced it, but don't remember one detail: https://github.com/facebook/jsx/pull/59#issuecomment-304648988 Let's wait for an answer.

MynockSpit commented 6 years ago

Been a while; thoughts on this?

RReverser commented 6 years ago

It's been long stabilised, so I'll accept a PR implementing it.