posthtml-static-react icon indicating copy to clipboard operation
posthtml-static-react copied to clipboard

The example doesn't work

Open rajdee opened this issue 11 years ago • 1 comments

The example is not working. I suppose what you forgot about jsx transformation.

rajdee avatar Oct 12 '15 20:10 rajdee

No I didn't :D ...I had just figured that people using React wouldn't think twice about having to add the transformation.

But - yes - it was a contrived example having a static React component inside the example script code. Require'ing the component from a separate file would yield the same problems though... still needs transformation.

I'll make a note in the readme about the missing transformation step - and possible solution.

phloe avatar Oct 12 '15 20:10 phloe