3 ms·
That is the beauty of Svelte. Check out the Timeline component you see at the bottom: https://github.com/mattorchard/vippet/blob/master/src/components/Timeline.
by ricardobeat 6y ago
That is the beauty of Svelte. Check out the Timeline component you see at the bottom: https://github.com/mattorchard/vippet/blob/master/src/components/Timeline.svelte https://github.com/mattorchard/vippet/blob/master/src/compon...
The entire app bundle [1] is roughly the size of a library adapter like react-redux [2], which is just glue code.
[1] https://vippet.netlify.app/build/bundle.js https://vippet.netlify.app/build/bundle.js
[2] https://unpkg.com/react-redux@7.2.2/dist/react-redux.min.js https://unpkg.com/react-redux@7.2.2/dist/react-redux.min.js
- vanderZwan 6y agoI don't think your point really applies to my question, which was more about what exactly was doing the heavy lifting of the video exporting. As a point of reference, just this week I saw someone on Observable experiment with WASM-compiled encoder packages for that exact reason[0][1]. Svelte seems really nice and lean though, I do agree with that [0] https://www.npmjs.com/package/h264-mp4-encoder https://www.npmjs.com/package/h264-mp4-encoder [1] https://observablehq.com/@rreusser/h264-mp4-encoder https://observablehq.com/@rreusser/h264-mp4-encoder