vhtml icon indicating copy to clipboard operation
vhtml copied to clipboard

Render JSX/Hyperscript to HTML strings, without VDOM 🌈

Results 26 vhtml issues
Sort by recently updated
recently updated
newest added

I recently added this package in our project and I was told it's causing memory leak in our prod env. After reading the code, it seems like it's the `sanitized`...

Basically it's possible to inject dirty html: ```js const striked = 'test'; console.log({striked}); console.log(test); console.log({striked}); ``` This is the output: ```html <strike>test</strike> test test ``` Expected output: ```html <strike>test</strike> test...

https://github.com/developit/vhtml/issues/31 ```json "jsxFragmentFactory": "Fragment", ``` or ```json "jsxFactory": "vhtml", "jsxFragmentFactory": "vhtml.Fragment", ``` --- ```ts import h, { Fragment } from 'vhtml'; ```

Hi, this is a cool project, thanks so much. I am using Typescript to compile the JSX, with this tsconfig.json: ``` "jsx": "react", "jsxFactory": "h", ``` Most code is converted...

This should address the issue raised in #20.

I can figure out the: ``` { "compilerOptions": { "jsx": "react", "jsxFactory": "h", }, } ``` But I can't figure out how to get the typings going for `h` and...

I followed the way https://github.com/developit/mitt is setup. This is likely a breaking change as `minified:main": "dist/vhtml.min.js"` no longer exists. Some notes about the changes: - Removes the empty tag for...

Fixes the travis failures coming from node 14 API changes

https://github.com/developit/vhtml/pull/17#issuecomment-648393254