TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Sveltekit newbies, what’s your experience so far?

2 点作者 galenko超过 2 年前
I ask because I got curious about sveltekit when the 1.0 release happened and am now trying to build a little app with it.<p>My experience has been extremely frustrating.<p>It feels like a lot of the tutorials and code examples I can find (or those provided by copilot) are outdated and not working (like try finding how to create a post route).<p>And then simple things (connecting to mongo for example) also become extremely convoluted or flat out stop working (I have an example where one bit of code works perfectly fine in express, but then doesn’t find anything in svelte).<p>The thing that sold me on svelte were all the experiences shared by many in YouTube videos and blogs about how logical and straightforward svelte is, yet I seem to find nothing but frustration.<p>Am I alone in this?

1 comment

leerob超过 2 年前
I&#x27;m happy to share this feedback with the Svelte team.<p>Can you share more about which code examples you&#x27;re looking for? We can then try to make some better suggestions.<p>For connecting to Mongo, can you share your code? Is it using a direct connection through the driver or using the Data API?