8000 Borrow Blurrable Image? · Issue #2 · andrelandgraf/openimg · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Borrow Blurrable Image? #2
Open
@kentcdodds

Description

@kentcdodds

Would you be at all interested in borrowing my blurrable image component? The UX is quite nice! I would love to swap what I have with this package.

More on this: https://kentcdodds.com/blog/building-an-awesome-image-loading-experience

The way I have it makes for an awesome UX:

blurrable-demo.mp4

Notice that you get the blur on initial load which most image components do and that's awesome. But what many get wrong is you get that blur on every subsequent load even though the image is already in the browser's cache. With my component, once that image is in the browser cache you don't get the blur on the initial load anymore!

I explain a bit on how that works in the blog post and you can feel free to take all the code if you like. I would love to just use your package on my site. It's a little tricky and involves some weird things, but if you can think of a way to make this work without hacks or with a nice integration then that would be sweet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0