Live data from Hacker News

SvelteKit Is in Public Beta

svelte.dev

111–119 of 119 posts

Re: SvelteKit Is in Public Beta

#111
Svelte has been such a breath of fresh air after so many years with React. (I still like React.) All my new projects are built with Svelte. There are just a couple of patterns to ease the transition but once you get those it's just so easy.

The best part is every time you want to do something, you gradually stop looking for a library to do it, because it's just html, js and css. So you just roll your own solution and everything is much, much simpler.

Well as Rich Hickey would say, "not everything is awesome", but I'm a big fan of Svelte and mainly looking forward to the new build times speed increases.

Thank you Rich Harris and all the Svelte contributors!

Re: SvelteKit Is in Public Beta

#112
post #108

Earlier quoted context omitted.

This makes me very glad I have never worked in JavaScript. Why does hello world compile to something with three explicit no-ops and what the heck is safe_not_equals? I had to wonder what an unsafe way to determine equality is and looked this and found this is apparently the code? export function safe_not_equal(a, b) { return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function'); } Why…

Although I agree with you in principle, in practice most of js devs never worry about such things. It's mostly library authors and such. And there are cases where a != a, I think for NaN (not a number).

Fair enough. It makes sense for NaN, but languages like Rust and the various ML variants solve that by defining floating point numbers to not be a type where equality is a valid binary operation.

Re: SvelteKit Is in Public Beta

#114

One thing that stops me from moving over to Svelte from Vue is the lack of a Vuetify (component framework with an API & tons of slots) equivalent. That's also what stops me from moving over to Vue 3 (for which Vuetify support is currently in Alpha). Vuetify just makes dev life so much easier. If Svelte had something that deep and all-encompassing I'd go all-in.

https://sveltematerialui.com/

Unfortunately Svelte Material UI is vastly less developed than Vuetify. It’s a huge deficit in components and functionality.

Re: SvelteKit Is in Public Beta

#115
post #22

What is SvelteKit? The linked page assumes I already know and have just been waiting for an announcement. I have heard a bit about Svelte. I love the analogy with spreadsheets, where original spreadsheets reevaluated every cell whenever any cell changed. Modern spreadsheets maintain a dependency graph, so when something changes, only the direct dependencies are even evaluated. If any of them change, then only their d…

I get kind of annoyed when people can't do at least 10 or less minutes of their own research. I believe it states on the front page that its akin to Next for svelte and the successor svelte/sapper. If you don't know what those are then perhaps just follow the links backwards and read?

Re: SvelteKit Is in Public Beta

#116

One thing that stops me from moving over to Svelte from Vue is the lack of a Vuetify (component framework with an API & tons of slots) equivalent. That's also what stops me from moving over to Vue 3 (for which Vuetify support is currently in Alpha). Vuetify just makes dev life so much easier. If Svelte had something that deep and all-encompassing I'd go all-in.

Agree with this one. Existing UI frameworks (eg. https://sveltematerialui.com/) are not to the level of Vuetify (for good reason). Even though I like Svelte, having to build a lot of UI elements from scratch has been annoying.

Re: SvelteKit Is in Public Beta

#117

Earlier quoted context omitted.

Not concrete plans but I expect it will happen, yes (at the very least in the sense of having an `adapter-deno` to allow the built app to run in Deno; running SvelteKit _itself_ in Deno is a separate issue)

Yeah, that will require rewriting lot of code for development so I understand. Just curious, are you aware of few of the spinoffs of svelte for deno like snel? https://github.com/crewdevio/Snel Have you used deno for any toy projects and how did you like it? Any wishes or criticism?

I just tried snel. It works pretty well. I'm looking forward to use it for my upcoming book on Deno.

Re: SvelteKit Is in Public Beta

#118

Earlier quoted context omitted.

Not concrete plans but I expect it will happen, yes (at the very least in the sense of having an `adapter-deno` to allow the built app to run in Deno; running SvelteKit _itself_ in Deno is a separate issue)

Yeah, that will require rewriting lot of code for development so I understand. Just curious, are you aware of few of the spinoffs of svelte for deno like snel? https://github.com/crewdevio/Snel Have you used deno for any toy projects and how did you like it? Any wishes or criticism?

Aleph.js (Deno alternative for Next.js) is worth trying. Though, Deno and Aleph.js are still in early phases for production use.
Post reply on HN