Hannes
@joknoll.de
๐ค 41
๐ฅ 208
๐ 101
https://joknoll.de
`oxfmt` now supports Svelte :))) (experimentally)
oxc.rs/compatibilit...
loading . . .
Oxlint & Oxfmt Compatibility
Check which JavaScript frameworks and file types are supported by Oxlint (linting) and Oxfmt (formatting).
https://oxc.rs/compatibility.html
20 days ago
1
55
8
Sheesh SvelteKit!
29 days ago
3
31
6
A Svelte attachment for binding keyboard shortcuts to DOM elements.
npmx.dev/package/svel...
loading . . .
svelte-attach-key - npmx
A Svelte attachment for binding keys to DOM elements
https://npmx.dev/package/svelte-attach-key
about 2 months ago
0
11
2
reposted by
Hannes
Adam Argyle
about 2 months ago
Why does AI suck at front-end? ๐๏ธ trained on garbage ๐ it can't see โ it doesn't know why ๐๏ธ no environmental control there's no human v20.2.1 to target. we're a LLM combinatorial explosion โคท
nerdy.dev/why-ai-sucks...
10
135
31
Soon having viteplus on
@npmx.dev
๐ฅณ
@thealexlichter.com
github.com/npmx-dev/npm...
loading . . .
Add viteplus as a package manager ยท Issue #2418 ยท npmx-dev/npmx.dev
Describe the feature Currently the get started widget shows a wide variety of installation methods for different package managers. With "vp add " it is possible to install a package in a viteplus p...
https://github.com/npmx-dev/npmx.dev/issues/2418#issuecomment-4211038311
about 2 months ago
1
11
0
svelte.dev/docs/kit/$ap...
(nice) I just wanted to resolvify my entire SvelteKit app, but how can I use this with my sidebar, where I have a list of objects { label: string, href: string}[] and then create an each loop with an <a href={resolve(item.href)}> (This yields a type error rn)
loading . . .
$app/paths โข SvelteKit Docs
$app/paths โข SvelteKit documentation
https://svelte.dev/docs/kit/$app-paths/
about 2 months ago
2
1
0
How do you structure SvelteKit components/ directory? I really like the structure in astro with src/{assets,components,layouts,etc.}. But in svelte I seem to always dump everything into components/ without further structure.
about 2 months ago
2
2
0
I recently watched a talk of Rich Harris about Svelte remote functions and somewhere near the end I remember he mentioned using them with pglite. Does anyone know thr talk and what the idea behind this is? Probably some local copy of the db so no network is needed?
2 months ago
0
0
0
Building a svelte library with tsdown from
@voidzero.dev
is really a breeze :) With some minor tweaks I got the bundle size of my library down from 4.88kB to 2.60 kB, which is *very* lightweigt compared to svelte-sound.
npmx.dev/compare?pack...
github.com/joknoll/svel...
loading . . .
GitHub - joknoll/svelte-attach-sound: Add sound effects to svelte components.
Add sound effects to svelte components. Contribute to joknoll/svelte-attach-sound development by creating an account on GitHub.
https://github.com/joknoll/svelte-attach-sound
2 months ago
0
5
1
Day 1 of my holy war against mobile horizontal overflow: On deno deploy I think these three buttons are breaking the viewport
@deno.land
(I'm on a pixel 6)
2 months ago
0
0
0
After using
@joshwcomeau.com
's course site, I really enjoyed the small sound effects on some elements (for example the sound of a light switch on the dark mode toggle :) So I to rebuilt his react [use-sound](
www.joshwcomeau.com/react/announ...
) hook as a svelte attachment
npmx.dev/package/svel...
loading . . .
svelte-attach-sound - npmx
A Svelte attachment for binding sound playback to DOM events using Howler.js
https://npmx.dev/package/svelte-attach-sound
2 months ago
1
12
0
Built a small library for Svelte to attach hotkeys to buttons (or any other onclickable elements) Svelte Attachments are so nice to build with :)
npmx.dev/package/svel...
loading . . .
svelte-attach-key - npmx
A Svelte attachment for binding keys to DOM elements
https://npmx.dev/package/svelte-attach-key
2 months ago
0
2
0
This is cool
susam.net/wander/
loading . . .
Wander Console - Browse the Small Web
https://susam.net/wander/
2 months ago
0
0
0
I think
@sveltiacms.app
is the perfect fit for static astro sites. So I built a small integration for
@astro.build
that injects sveltia. For example my personal site uses
joknoll.de/cms
. And then provides a loader to load the sveltia collection into a astro.
npmx.dev/package/astr...
loading . . .
astro-loader-sveltia-cms - npmx
Sveltia CMS integration for Astro
https://npmx.dev/package/astro-loader-sveltia-cms
3 months ago
2
1
0
I did it! Finally got my site into a state, where playing around with features and fiddling with styles isnt't the only thing I spend time on ๐ So now here comes my first small test post ... with a praise to the indie web :)
joknoll.de/blog/hello-w...
loading . . .
Hello World! - A first post introducing this personal site and why having your own corner of the web still matters. โข Johannes Knoll
A first post introducing this personal site and why having your own corner of the web still matters.
https://joknoll.de/blog/hello-world/
3 months ago
0
3
0
you reached the end!!
feeds!
log in