npm.io

No danger Packages

preact-parser

When dealing with HTML strings in Preact, our only real option is to use `dangerouslySetInnerHTML`. This is fine(-ish) if you 100% trust the contents of that HTML, but regardless, it opens up potential vectors for attack, problems and bugs. Ideally, we'd

preactparserdangerouslySetInnerHTMLno dangerrenderhtmlstringjsxisomorphic
1.3.7 • Published 2 years ago

contact@npm.io