5 ms·
To me the difference is that Svelte is a lot more pure JavaScript than Vue. I haven't had the chance to use it in any larger project, but in my small playground
by woutr_be 7y ago
To me the difference is that Svelte is a lot more pure JavaScript than Vue. I haven't had the chance to use it in any larger project, but in my small playgrounds, I've definitely enjoyed it more than Vue.
- NetOpWibby 7y agoIf you wanna see Svelte in production, I’m using it for my homepage: https://webb.page https://webb.page I’m glad to see Svelte growing in popularity here.
- benbristow 7y agoThat page could literally just be a static web page or built using a static site builder like Jekyll/Hugo etc?
- NetOpWibby 7y agoOf course it could but once you have a starter template setup it becomes an easy to jump right in.
- leadingthenet 7y agoWhat exactly are you using Svelte for? It seems to literally be one HTML page...
- NetOpWibby 7y agoTo put it simply, I like it. Plus, I have a starter template project that makes it easy to just code and go.
- cmroanirgo 7y agoViewing the source shows an html page without a closing body nor html tag: it's probably not the best case for showcasing it seems. The layout it all over the place too using FFox, (it's fine on Chrome and Safari) so it also seems to be lacking in some basic cross browser testing, which again, is not good news when show-casing a framework, as a frameworks' prime responsibility is to ensure cross browser/platform uniformity. Hopefully this all boils down to a simple 'oopsie' in your project, rather than svelte.
- woutr_be 7y ago> Viewing the source shows an html page without a closing body nor html tag It's actually not required to close those tags, the browser will interpret them correctly. (You can see this when inspecting the elements on the page, not just the raw source)
- currysausage 7y agohttps://html.spec.whatwg.org/multipage/syntax.html#optional-tags https://html.spec.whatwg.org/multipage/syntax.html#optional-...
- slantyyz 7y agoIf you use Svelte with Sapper, you will get the "best of both worlds". The first page you hit has the content baked into the HTML, and all subsequent content "pages" load like a single page app. [1] https://sapper.svelte.dev/ https://sapper.svelte.dev/
- NetOpWibby 7y agoInteresting, Firefox is my main browser and it's always looked fine to me. I also built https://socii.network https://socii.network in Svelte/Sapper but that's in need of a rewrite. Just a smidge.
- woutr_be 7y agoIs it open-source? Otherwise it just looks like any other website, the code would be a lot more useful.
- NetOpWibby 7y agoYup! Here it is: https://code.webb.page/Webb/Homepage/commits?branch=primary https://code.webb.page/Webb/Homepage/commits?branch=primary