Jason Lee

Results 98 comments of Jason Lee

If you're using SvelteKit, you can hook onto `beforeNavigate()`, something like: ```js import { beforeNavigate } from '$app/navigation' import { toast } from '@zerodevx/svelte-toast' beforeNavigate(() => toast.pop(0)) ```

You're picking up the `rc` package. Can you reinstall with `npm i --save @zerodevx/svelte-toast@latest`?

In theory, `js` with `jsdoc` definitions should work just fine since `svelte-package` promises to generate `ts.d`s from them (so intellisense should be somewhat functional). The problem is it under-delivers. IBM...

Thanks for the detailed writeup! Definitely open for discussion. > However, notice this will only allow to preload one "type" of image. The thing is preloading only shaves off milliseconds,...

@joshua1 it should be hosted under the `gh-pages` branch (https://github.com/zerodevx/zero-list-hero/tree/gh-pages)

Haven't tried TBH but Astro is framework agnostic so it *should* work.

Looks cool! 🎉

Hey, that's an interesting idea. I experimented with `blurhash` before, and iirc there's a huge performance hit of run-time rendering of the hash representation, compared to the native rendering of...

> I know the binary/base64 string generated by thumbhash is pretty small (under 30 bytes or so), but the data URL generated by it is significantly large in size. Hmm...

> believe you may be overriding the browser's ability to discern Ooh I'll have to read on that one. IIRC if `loading` is left unset, it defaults to `eager`. If...