viur-framework / flare

Python framework to create web-apps on top of Pyodide
https://flare.docs.viur.dev
MIT License
33 stars 10 forks source link

Use Browser build-in functionality for faster SVG replacement #54

Closed tsteinruecken closed 2 years ago

tsteinruecken commented 2 years ago

This significantly speed up loading of SVGs. However, we don't create the internal flare data-structures for svgs any more (eg self.children() will be empty) - not sure if anyone relies on this?

phorward commented 2 years ago

@tsteinruecken I made an alternative approach to this PR which works.