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

Smarter JSX detection #302

Open
pi0 opened this issue Sep 25, 2024 · 0 comments
Open

Smarter JSX detection #302

pi0 opened this issue Sep 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pi0
Copy link
Member

pi0 commented Sep 25, 2024

Describe the feature

We added initial JSX support in #200 (thanks to @yuusheng), however, framework configuration is manual and Solid needs a different transformer than @babel/plugin-transform-react-jsx (babel-plugin-jsx-dom-expressions)

If we can somehow join these two plugins and make it smarter to detect renderer lib per-file (to infer imports and render function) it could make integration zero-config!

Considering the maintenance requirements of this and reusability, I think it probably has to be an external repo for the Babel plugin, however initiating it from here.

If anyone wants to help on this it is more than welcome!

@pi0 pi0 added the enhancement New feature or request label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant