TheLarkInn / unity-component-specification

This is a WIP draft of the Unity (Single File Web Component) Specification
Apache License 2.0
217 stars 2 forks source link

Platform: Processing <template> and <style> without JS. #8

Open TheLarkInn opened 7 years ago

TheLarkInn commented 7 years ago

From confirmation of multiple browser engineers, it would be possible to have an interpreter take the contents inside of

<template>

</template>

as well as

<style>

</style>

and instead of frameworks compiling this content as JavaScript render functions, instead bind to a set of change instructions for the lower level GL (C++) DOM, Paint, Render operations