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

Feature request: add online tool (or babel REPL setup) to convert from JSX to htm #78

Open
blikblum opened this issue Mar 29, 2019 · 4 comments

Comments

@blikblum
Copy link
Contributor

@blikblum blikblum commented Mar 29, 2019

While converting a project from JSX to htm i missed a online tool (or a codepen/fiddlejs or babel repl setup) to run babel with babel-plugin-transform-jsx-to-htm

I tried to configure Babel REPL adding @babel/plugin-syntax-jsx and babel-plugin-transform-jsx-to-htm plugins with no luck (a bug in Babel REPL?)

@developit
Copy link
Owner

@developit developit commented Apr 7, 2019

This is a fantastic idea and I will absolutely try to find an hour to throw something together!

@blikblum
Copy link
Contributor Author

@blikblum blikblum commented Apr 20, 2019

I've got some time today and create a simple one: https://github.com/blikblum/to-htm

Edit: it come also with a CLI and can convert from Handlebars

@developit
Copy link
Owner

@developit developit commented May 22, 2019

nice @blikblum!!

@luwes
Copy link

@luwes luwes commented May 22, 2020

wanted to leave this link here for the Handlebars fans 👨🏻‍🦱
https://github.com/luwes/hyperstache

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.