4 ms·
> I wish it had easier samples to show what the code you write looks like If you visit the REPL you can click on the 'output' button to see some sample output
by rich_harris 10y ago
> I wish it had easier samples to show what the code you write looks like
If you visit the REPL you can click on the 'output' button to see some sample output code: https://svelte.technology/repl https://svelte.technology/repl
> Can I use webpack?
Yep, there's a webpack loader: https://github.com/sveltejs/svelte-loader https://github.com/sveltejs/svelte-loader
> Can I use TypeScript?
Integration with things like TypeScript is on the nice-to-have list — we have an issue here: https://github.com/sveltejs/svelte/issues/58 https://github.com/sveltejs/svelte/issues/58
> How does this compare to preact?
Last time I checked, Svelte was faster. Need to get some automated benchmarks up and running, and compare sizes (and parse & startup time) for equivalent non-trivial apps.