socketsupply / tonic

A Low Profile Component Framework – Stable, minimal, easy to audit, zero-dependencies and build-tool-free.
http://tonicframework.dev
MIT License
867 stars 24 forks source link

Tonic: Expose template strings from `this.html` #46

Closed Raynos closed 4 years ago

Raynos commented 4 years ago

This allows other logic / features / code to get access to the original template strings array from the tagged template literal.

This is super useful for implementing TonicCached