reactjs / rfcs

RFCs for changes to React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] The new JSX transform

pjstirling opened this issue · comments

I transpile to js, (from parenscript if you care) and there I use a transform into React.createElement which makes me interested in the new transform in React 17 (mentioned here).

That, in turn, links to a file not in master, but that file is written in the form of a proposal, and it's not clear whether it represents the final details.

Is there another document with the details?

commented

Hey @pjstirling, thanks for submitting the question.

This repo isn't the right place for these type of questions, but here's the information I think you're looking for. Most of the discussion on this is in the RFC. The implementation of the new JSX functions are available here. You also probably want to reference the Babel plugin that transforms JS, which is here.