Live data from Hacker News

SvelteKit 1.0

svelte.dev

61–70 of 296 posts

Re: SvelteKit 1.0

#61
post #53
post #36

Earlier quoted context omitted.

> It embraces your knowledge of plain ole CSS/JS/HTML Yeah that's one of the things I love about Svelte. It tends to enhance fundamental web knowledge rather than forcing you to think in convoluted ways. Features like actions put you close to the bare metal so to speak. I use those all the time.

This is what they said about React when it first blew up. Compared to Angular, it's much closer to being *just javascript™*. But I wonder how well that'll hold up after the honeymoon phase The builder.io team made a tool called Mitosis[^0] that lets you input a component written in almost any framework and automatically recreate that same component in any other framework including Vue, React, Qwik, Angular, Svelte, R…

It is absolutely crazy how much more idiomatic the Svelte code is in the example on Mitosis compared to the other frameworks on there.

Re: SvelteKit 1.0

#63

"This app requires modern web platform features. Please use a browser other than Safari." Looks cool but not production ready.

Every website should display this message until apple either fixes the browser or lets you install chrome.

Re: SvelteKit 1.0

#64

"This app requires modern web platform features. Please use a browser other than Safari." Looks cool but not production ready.

That's the tutorial - which uses WebContainers, which are indeed an experimental technology. It has nothing to do with the production readiness of SvelteKit the framework.

Re: SvelteKit 1.0

#65
post #14

Why is there a new frontend-whatever-work / tool every week? Database stuff is fairly stable, so is backend stuff. Browser APIs seem stable to me too? Why can't you guys decide that this is how things are best done

if you know what you were doing on front-end you wouldn't spelling this words aberration compilation

I really don't know, that's why I asked.

Re: SvelteKit 1.0

#66
There is a plethora of javascript frameworks: React, Vue, Svelte, Remix, etc. If I know nothing about front-end development, and would like to learn one that is:

- Intuitive

- Suitable for small projects as well as large projects.

- That is here to stay, i.e. either adopted by many companies, or its adoption curve is going up.

Which one should I pick? Would Svelte be a good choice?

Re: SvelteKit 1.0

#67
post #54

Earlier quoted context omitted.

How are you liking Prisma compared to a pure SQL approach?

When I used prisma a few years ago I was not impressed and it couldn't do a lot of what I needed so I had to dump into raw sql queries anyway. It was easier for me to use knex and get the types mostly right.

A lot has changed in the past years of Prisma, it's a really great tool, to be honest, "raw sql" escape hatches to do anything raw when you need it, if you haven't tried it in years, I'd recommend you to try again since if you tried it years ago, it was a very different maturity level.

Re: SvelteKit 1.0

#68
post #27

This is how I move fast and break nothing. By having fullstack type-safety from database all the way to the frontend with auto-completion. My current stack: + SvelteKit (could be Next, Nuxt, Solid or any other TypeScript framework) + tRPC (typed calls between frontend and backend, https://trpc.io ) + trpc-sveltekit (glues SvelteKit and tRPC, https://github.com/icflorescu/trpc-sveltekit ) + Prisma (ORM, https://www.pr…

Personally, I'd remove tRPC on down (and choose a database).

It's nice there's type-safety between layers, but that's a bunch of layers that you don't even need. (A layer that doesn't exist takes is 100% type-safe and takes 0 hours to develop and maintain).

Re: SvelteKit 1.0

#69

"This app requires modern web platform features. Please use a browser other than Safari." Looks cool but not production ready.

I always wonder why Hacker News is such a magnet for comments trashing product announcements while also knowing almost nothing about the product being announced.

Re: SvelteKit 1.0

#70
Related:

SvelteKit - https://news.ycombinator.com/item?id=29902450 - Jan 2022 (3 comments)

My Evaluation of SvelteKit for Full-Stack Web App Development - https://news.ycombinator.com/item?id=29806385 - Jan 2022 (125 comments)

SvelteKit Is in Public Beta - https://news.ycombinator.com/item?id=26557886 - March 2021 (114 comments)

What's the Deal with SvelteKit? - https://news.ycombinator.com/item?id=24996750 - Nov 2020 (2 comments)

Post reply on HN