:zap: Render HTML5 as VDOM, with Components as Custom Elements!
wrap={false}
prop, which renders multiple children without a wrapping <div>
(#37, thanks @hpneo!)Note: as of version 2,
preact-markup
requires Preact 10+.
As of version 2.0.0, preact-markup
now requires Preact X.
npm i preact-markup@next
trim="all"
, leave all whitespace present when trim={false}
onError
defined) to the browser console (#4)document.implementation.createHTMLDocument()
when available.Thanks to @AkeemMcLennon for this release!
<script>
nodes are now blocked by defaultallow-scripts
prop to enable <script>
nodes