3 ms·
I refactored all the visualization out into a standalone framework. I share your view ;) Except that it should not be a single file. That is technically neithe
by Gehinnn 6y ago
I refactored all the visualization out into a standalone framework. I share your view ;) Except that it should not be a single file. That is technically neither feasible nor required.
https://hediet.github.io/visualization/ https://hediet.github.io/visualization/
https://github.com/hediet/visualization https://github.com/hediet/visualization
- cxr 6y agoWhat makes it infeasible?
- Gehinnn 6y agoWell, maybe it actually is easier than I thought to bundle everything into a single html file (I thought you couldn't embed fonts into html, but apparently you can [1]). Anyways, in case of this application, all visualizations together are like 20MB (the monaco editor is a significant part of it). Having them split up and only loading things one demand significantly increases startup time. Also, base64-encoding all the binary resources is a little bit inefficient. [1] https://www.mediaevent.de/font-in-css-einbetten/ https://www.mediaevent.de/font-in-css-einbetten/