Closed sc0ttj closed 3 years ago
You can now import a render method on its own, which is only ~830 bytes.
render
Features:
requestAnimationFrame
html
htmel
Usage:
import { render } from "@scottjarvis/component" render(`<p>Hi</p>`, ".container")
This partially addresses https://github.com/sc0ttj/component/issues/25, namely the bits about render.
NOTE: This render method does not support the persistent state add-on.
You can now import a
render
method on its own, which is only ~830 bytes.Features:
requestAnimationFrame
html
andhtmel
addonsUsage:
This partially addresses https://github.com/sc0ttj/component/issues/25, namely the bits about
render
.NOTE: This
render
method does not support the persistent state add-on.