© 2023 Hashnode
#lazyload
Are you tired of waiting for your website to load faster, only to see potential customers click away? You've poured your heart and soul into your website, and you want it to be lightning-fast, leaving…
In modern web development, performance optimization is crucial to ensure a smooth and responsive user experience. One effective technique to achieve this is lazy loading, which allows us to defer the …
Ever felt the need to lazy-load images, implement infinite scrolling, and decide whether or not to perform an animation based on what the user will view? Intersection Observer API provides us with a w…
Lazy Enumeration is a programming technique that allows us to generate the sequence of values on the fly, without computing them all at once. This can be useful when dealing with large datasets, or wh…
What does Intersection Observer API do? Intersection Observer enables us to detect the visibility of an element. What it internally does is it lets us pass a function as its parameter. This function i…
We all know that sometimes it’s impossible to avoid using an image as a div background when coding in the front end. If it’s a small image, we can usually get away with loading times because the image…
Code Splitting It's a feature supported by bundlers used to create multiple bundles to be loaded dynamically at the runtime. For example, let's take a blogging site which has many pages and is very he…
Jest aside, and Jest as a testing mechanism aside as well, React.lazy and Suspense are two features in React that allow you to load components lazily, i.e. only when they are needed, instead of loadin…
Why should we use this feature? Lazy Loading helps keep initial bundle sizes smaller, which in turn helps decrease load time and see our site blinks faster on user screen. Lazy Loading conserves ban…
An angular app is made of multiple components, If your app has few components then it will take not much time to load in the browser but what if your application has lots of components. The loading time will be increased and this will not l…