Re:Vue Lazy Image Loading
by wjossey on Thursday November 15, 2018 @11:37AM
(#18460663)
Ditto for me. I’m a full year into using it for my startup and it’s been a real benefit for our business. I was really skeptical of whether or not I needed an SPA for our product, but now I’m really glad that’s the route I went.
One thing I’ve done that might be the reason I’m so happy with Vue is that I haven’t tried to manage state on the client. There’s more overhead on page transitions certain actions, but it does seem to limit my exposure to WTF style bugs.
Re:Vue Lazy Image Loading
by kbenson on Thursday November 15, 2018 @11:34AM
(#18460630)
Awesome work. I'm a vue novice,and I wanted something similar to this a while back and found something that worked for my needs in the bootstrap+vue project[1] since I was already using that, but this might have fit my needs just as well. I'm sure I would have opted for something like this if I wasn't already using the larger bootstrap component tie-in project.
Re:Vue Lazy Image Loading
by victornomad on Thursday November 15, 2018 @02:45PM
(#18462590)
Nuxt.js uses Vue.js to create static html that doesn't require javascript in the end-user.
If this library is well made should provide a fallback to load the images synchronously.
Re:Vue Lazy Image Loading
by hermanradtke on Friday November 16, 2018 @12:32AM
(#18466659)
If Ihave a product listing page with a lot of images on it, I want to load the images above the fold first. Once those are loaded, I can load the rest.
Re:Vue Lazy Image Loading
by hawski on Friday November 16, 2018 @03:38AM
(#18467417)
Isn't it how browsers work on general? They would try to download resources as they appear in HTML, but they would not do this over more than reasonable number of concurrent connections.
For the record, Vue has been an absolute dream to work with and major props to the creators.
One thing I’ve done that might be the reason I’m so happy with Vue is that I haven’t tried to manage state on the client. There’s more overhead on page transitions certain actions, but it does seem to limit my exposure to WTF style bugs.
1: https://bootstrap-vue.js.org/docs/components/image#lazy-load...
I want the image to be there, not to load when I scroll down. It should only lazy load images that is 2 screen below my current view.