Ryan Carniato
1 min readAug 8, 2019

--

Not currently. I was looking at bytecode but the savings weren’t good enough for the additions in runtime size. Especially post gzip. I am sure there are ways to make this better, but lack of literature on the subject or time spent with Ember etc, pushed it down the priority list. I’d be interested to see how transfer time compares and parsing/execution time of uncompressing template vs just creating nodes from a string. Svelte basically turns templates into document.creareElement calls. Wraps the factory function in their own method to save size. But as I mentioned the approach has slower rendering performance.

--

--

Ryan Carniato
Ryan Carniato

Written by Ryan Carniato

FrontEnd JS Performance Enthusiast and Long Time Super Fan of Fine Grained Reactive Programming. Member of Marko Core Team. Author of SolidJS UI Library.

No responses yet