Next.js Discord

Discord Forum

Lazy

Unanswered
German yellowjacket posted this in #help-forum
Open in Discord
German yellowjacketOP
What is Lazy loading?
I can't imagine,visualize this idea.
Could you give me some detailed and visualized explanations?

17 Replies

you mean in general term?
German yellowjacketOP
yeah.
that's a design pattern or technique that delays the loading of resources (e.g., images, videos, or scripts) until they are needed.
German yellowjacketOP
So can you give me some code examples?
German yellowjacketOP
hmm... Let me think
What exactly does SSR mean?
well that's a different term
server side rendering
@German yellowjacket What is Lazy loading? I can't imagine,visualize this idea. Could you give me some detailed and visualized explanations?
have you evern seen a page with loading skeleton and then real UI replacing the loader?
that's what lazy loading with fallback UI do
displaying this until things load
😂
Asiatic Lion
It's simple, @john.
Your mother told you to bring 20 blocks and you can put only 10 blocks in your bag.
- If you put on and on to bring all the 20 blocks, it's "eaget loading"
- If you bring your bag with a few blocks so that your mother doesn't tell you off and bring rest of blocks next time, It's "lazy loading"
Hope this could make sense. 🤗