Hello!
What an incredible product you have here.
I know forms are a pain to produce, and this will help.
What caught my eye more than anything is the jsxLoader.
I really like it and would love to use it to make react-styleguidist faster.
- Do you think it could be made into a separate npm package?
- Do you think one could ask for a specific pragma to package the jsx?
- for mercurial it's
mercurial.h, for vue simply h
- Most importantly, do you think that this transformation could be done without running the code?
I was thinking of an api like this
import { transform } from '@dataformjs/jsx-loader'
const desugarizedCode = transform('<Comp>hello mama</Comp>', {pragma: 'h'})
console.log(desugarizedCode)
// "h(Comp, , ['hello mama'])"
Hello!
What an incredible product you have here.
I know forms are a pain to produce, and this will help.
What caught my eye more than anything is the
jsxLoader.I really like it and would love to use it to make
react-styleguidistfaster.mercurial.h, for vue simplyhI was thinking of an api like this