You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anyone know of a simple tool (cmd line would be fine) for converting a JSX snippet to a react-hyperscript snippet? My use case is making it easy to plop JSX examples into my code which is not setup for JSX.
I googled a bit and didn't find anything...
Sorry if this is an inappropriate place to post this. I guess I'm trying to slide it in under "feature suggestion..."
The text was updated successfully, but these errors were encountered:
I find that running Babel (usually I just use the REPL on their website) gets most of the way there. Then I can replace React.createElement with h and reformat
Anyone know of a simple tool (cmd line would be fine) for converting a JSX snippet to a react-hyperscript snippet? My use case is making it easy to plop JSX examples into my code which is not setup for JSX.
I googled a bit and didn't find anything...
Sorry if this is an inappropriate place to post this. I guess I'm trying to slide it in under "feature suggestion..."
The text was updated successfully, but these errors were encountered: