Conversation
|
For the built BeforeAfterIt's really only one line, but the template sting is 21 lines so 22 lines haha 😂 closes #2 |
|
Yeah, it should be less after stripping hyperx. For JSX support you'll want to include the pragma in the .babelrc file. |
|
Ok then i might keep this repo focused on the template strings then. Might need your help with stripping hyperx to do the transform 😄 |
|
@selfup Either is fine. If you are going to include a .babelrc, might as well add the pragma also, what do you think? |
|
Sure I will take a look tomorrow. Thanks for the pointers so far! |
|
Ok couldn't sleep haha I also added JSX support (I tried, it works on 0.0.12) Will keep it on 0.0.9 for now until 0.0.13 reintroduces the Once that is out, I will put a JSX translation of the only view to copy/paste so that developers can just get started real fast! Keeping the template literals since that follows the current spirit of the project. This also ensures that in dev mode we don't have minified code 😄 |
|
The current, soon to be gone, "hyperapp/hx" is only for Hyperx, so you should be able to use "hyperapp" already if you are using JSX. Will release 0.0.13 in a short while. |
|
Thanks again for all the feedback I'll go ahead and merge this tomorrow once I have had some sleep! Let me know if you don't mind me using JSX as the base example for this repo 😄 |
Of course not! Users should use whatever they find more convenient and my preferences should not get in the way! Go jsx! haha |


@jbucaran This will minify the code as well as transpile it 😄 when doing
npm run build🎉