Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
benmccann
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
benmccann
10mo ago
I used Gemini to compare the minimized output of the Rollup vs Rolldown JavaScript bundlers to find locations where the latter was not yet at the same degree of optimization. It was astoundingly good and I'm not sure how I would have b
2.
▲
by
benmccann
10mo ago
fixed!
3.
▲
by
benmccann
10mo ago
Hundreds of people had access to publish the Zapier SDK, so it's little surprise they were eventually compromised! ( https://bsky.app/profile/benmccann.com/post/3m6fdecsbdk2u ) The e18e community are reduc
4.
▲
by
benmccann
1y ago
Yes, eslint is particularly frustrating: https://npmgraph.js.org/?q=eslint There are plenty of people in the community who would help reduce the number of dependencies, but it really requires the maintainers to make it a pr
5.
▲
by
benmccann
1y ago
The number 3, 4, and 5 contributors to SvelteKit in the past year work at Vercel: https://github.com/sveltejs/kit/graphs/contributors?from=8%2... Rich and Simon are incredibly important, but they're in
6.
▲
by
benmccann
1y ago
Only 3/40 Svelte maintainers work at Vercel and they mainly finance work on Svelte core. SvelteKit day-to-day is primarily maintained by folks outside Vercel
7.
▲
by
benmccann
1y ago
Wouldn't vouch proxy only work with self hosted apps? How would you use it with a SaaS app?
8.
▲
by
benmccann
1y ago
What is the plastic.love you're referring to? That domain doesn't resolve for me. Do you mean PlasticList?
9.
▲
by
benmccann
1y ago
It's neither true that Svelte has few users or that we can easily break things. Tons of sites are built with Svelte like Yahoo Finance and Apple Music. Svelte 5 was the only big change in syntax in the past five years and we made sure
10.
▲
by
benmccann
1y ago
The updated knowledge cutoff is helping with new technologies such as Svelte 5.
11.
▲
by
benmccann
1y ago
NextAuth certainly needs some competition. However, I wish better-auth didn't have so many dependencies. I feel like it shouldn't be necessary to depend on things like kysley and Typescript.
12.
▲
by
benmccann
2y ago
Check out https://www.perceptive.io/
13.
▲
by
benmccann
2y ago
I believe the reason for that was to enable event forwarding, which was a highly requested feature and makes a lot of things easier.
14.
▲
by
benmccann
2y ago
The docs for single page apps live at https://svelte.dev/docs/kit/single-page-apps By default, SvelteKit does SSR for the first page and client-side routing thereafter. This is fully configurable. Perhaps it'
15.
▲
by
benmccann
2y ago
You should only access credentials in `.server` files. We have a built-in feature that checks that you only access credentials in `.server` files to try to prevent newcomers from accidentally making any mistake in that regard.
16.
▲
by
benmccann
2y ago
Actually, I forgot that this landed as an official part of the docs now: https://svelte.dev/docs/llms It might still be a bit big, but PRs welcome if folks want to try slimming it down to just the stuff that's new
17.
▲
by
benmccann
2y ago
I haven't used Claude much personally, but have seen https://svelte-llm.khromov.se/ built to help on that front, do you might want to check it out.
18.
▲
by
benmccann
2y ago
Vite does statically replace the `browser` variable with `true` or `false` based on whether you're on the client or server, but this shouldn't affect the correctness of your code. It does allow Vite to remove any unused code, howe
19.
▲
by
benmccann
2y ago
Files with `.server` in the name run only on the server. The remaining files run on the client and server. This is mentioned in the introduction on https://svelte.dev/docs/kit/routing What's confusing about t
20.
▲
by
benmccann
2y ago
Snippets are far more powerful than slots and so the change is not merely cosmetic. Snippets give you a way to create reusable HTML fragments within a component.
21.
▲
by
benmccann
2y ago
The v3/v4 docs can be found at https://v4.svelte.dev/ There is a migration guide as well as a migration tool that will migrate most of your code for you. You can also see what an individual file looks like when migrate
22.
▲
by
benmccann
2y ago
Svelte is doing its own Advent of Code challenge with a twist this year. Instead of challenging users, the maintainers will be challenging themselves to launch one feature a day. Today's feature is error boundaries! https://
23.
▲
by
benmccann
2y ago
JAWSM might be a more unique alternative if you're looking for any. Anyway, it's a cool project. Thanks for sharing!
24.
▲
Introducing the new Svelte CLI
(svelte.dev)
3 points
by
benmccann
2y ago
|
0 comments
25.
▲
by
benmccann
2y ago
shadcn-svelte is great!! https://www.skeleton.dev/ and https://flowbite-svelte.com/ are another couple of popular ones. There's a big list at https://www.sveltesociety.dev/packages?cate
26.
▲
by
benmccann
2y ago
The old syntax is considered legacy and it is recommended to upgrade. There is a migration tool to do most of it automatically for you.
27.
▲
by
benmccann
2y ago
SvelteKit is a great way to build a SPA. I think just adding those two lines of config to your project once shouldn't be an issue. If there are any difficulties you'd like to share we'll try to fix them as part of SvelteKit 3
28.
▲
by
benmccann
2y ago
What software is that?
29.
▲
by
benmccann
2y ago
Insurance companies may be more likely to cover home sleep studies, which cost less to run and are nearly as effective. A sleep doctor should be able to pre-authorize the study with the insurance company. If you want to do it yourself witho
30.
▲
by
benmccann
2y ago
External libraries are no longer readonly in the latest release as many users wanted to be able to delete photos in external libraries, but you can mount the Docker volume containing your external library as readonly if the readonly aspect
More ›