Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] The new JSX transform #193

Closed
pjstirling opened this issue Jan 19, 2021 · 1 comment
Closed

[Question] The new JSX transform #193

pjstirling opened this issue Jan 19, 2021 · 1 comment

Comments

@pjstirling
Copy link

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?

@rickhanlonii
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants