jsx-parser icon indicating copy to clipboard operation
jsx-parser copied to clipboard

a lightweight jsx parser

Results 4 jsx-parser issues
Sort by recently updated
recently updated
newest added

I fixed issue #4 by changing the last line of the index.js file to use 'module.exports' instead of 'export default'. I also explicitly set the type property in the package.json...

When I installed the package from npm into my NodeJS cli project I got the following error: ```terminal export default JSXParser ^^^^^^ SyntaxError: Unexpected token 'export' ``` When I looked...

```javascript function avalon() { } //单例HTML标签,多例自定义标签 var aslice = Array.prototype.slice avalon.createElement = function (type, props, children) { var obj = { type: type, props: props, children: aslice.call(arguments, 2) } if...