You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A website of the most common scenarios and the recommended approach.
Why
The most common thing I do is data-fetching. But trying to figure out the best/recommended approach involves reading blog posts/github discussions/github issues/bun blog/reddit threads/youtube comments/etc. And it's always evolving too because of runes, async, etc.
I work mostly in vanilla Svelte. I feel like vanilla Svelte examples/guides are neglected a bit at the expense of SvelteKit.
Inspiration
I really like Bun's guides. They have a separate page on how to do the most common things. Nicely SEO'd too.
It would be interesting to allow commenting on each example where people could debate the alternative/evolving approaches. This information is found inside Github issues at the moment.
How
The examples should be really small and focused. And cover a lot of real-world common variations. Like fetching data and then something else deriving from that fetched data.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A website of the most common scenarios and the recommended approach.
Why
The most common thing I do is data-fetching. But trying to figure out the best/recommended approach involves reading blog posts/github discussions/github issues/bun blog/reddit threads/youtube comments/etc. And it's always evolving too because of runes, async, etc.
I work mostly in vanilla Svelte. I feel like vanilla Svelte examples/guides are neglected a bit at the expense of SvelteKit.
Inspiration
I really like Bun's guides. They have a separate page on how to do the most common things. Nicely SEO'd too.
See: https://bun.com/docs/guides
Example: https://bun.com/docs/guides/binary/arraybuffer-to-typedarray
Interesting
It would be interesting to allow commenting on each example where people could debate the alternative/evolving approaches. This information is found inside Github issues at the moment.
How
The examples should be really small and focused. And cover a lot of real-world common variations. Like fetching data and then something else deriving from that fetched data.
Beta Was this translation helpful? Give feedback.
All reactions