Skip to main content

Questions tagged [lazy-loading]

For programming questions about "lazy loading", a design pattern that defers initialization of an object until the point at which it is needed.

lazy-loading
-1 votes
0 answers
12 views

Lazy loading in ngx-doc-viewer

I am using ngx-doc-viewer in my angular application. It is taking time to load large files. Is it possible to lazy load the document instead of showing it completely?
Alan Henry's user avatar
1 vote
1 answer
26 views

Lazy loading angular child routes with no common url ancestor

I'm using angular 15. In my main module's routing, I've got the following routes to lazy load the MediaModule { path: 'video-page', loadChildren: () => import('app/myapp/submodules/media....
David's user avatar
  • 34.2k
1 vote
2 answers
25 views

Angular, How lazy loaded components get crawled and indexed by google bot

we load angular component on scroll for better page performance but these component content not crawled by google bot. we have implemented angular ssr & prerendering. we are using scroll event @...
user2486706's user avatar
0 votes
0 answers
54 views

.NET Core dependency injection Entity Framework lazy loading not available after insert / update

We were using a separate DbContext per function like this: using MyEntities db = new(); This was fine, however since we have swapped to dependency injection, we have found that since the DbContext ...
Dale Fraser's user avatar
  • 4,711
0 votes
1 answer
19 views

Angular 17+: How to lazy-load 3rd party libraries that are only used by one standalone component

I have a large Angular app and need to reduce the bundle size. I recently migrated to Angular 17 and made all of my components standalone, and started separating out which routes should be lazy loaded....
David Milne's user avatar
0 votes
2 answers
36 views

Angular - Lazy Loading Same Module with Two Routes

I have this routing currently in my app-routing module: { path: 'school', component: SchoolComponent }, { path: 'student', component: StudentComponent }, { path: 'student/...
Jithin RS's user avatar
0 votes
0 answers
8 views

how to use image lazyload on AMP blog using amp-script? I've tried it but the image still won't appear even though my amp is valid 100% full green

how to use image lazyload on AMP blog using amp-script? I've tried it but the image still won't appear even though my amp is valid 100% full green, do you have any suggestions for this problem? My ...
Wawang Setiawan's user avatar
0 votes
1 answer
37 views

How can I make it so the loading screen is shown first, then the data gets fetched?

I am running into an issue where the amount of data that is being fetched is causing the app to lag a little bit. Nothing serious, just about half a second. How can I adjust this to where it shows the ...
DCorn's user avatar
  • 17
-1 votes
0 answers
60 views

WPF - DataGrid - lazy loading ? pagination?

I have a lot of data to display and, to improve the scrolling and UI performances, I already enabled virtualization use async binding set Max Width/Height My data property points to a field like ...
pf12345678910's user avatar
-1 votes
1 answer
42 views

How to make Lazy-Loading work with dbcontext

My LazyLoadingProxies not work after I config my DbContext using LazyLoadingProxies here: services.AddDbContextPool<DbContext, ApplicationDbContext>((provider, builder) => { ...
Panda's user avatar
  • 1
0 votes
0 answers
23 views

In NextJS, is there a way to have a component always be dynamically loaded?

For example, if I have a modal component, that I always want to dynamically be lazy loaded: // modal.tsx export const ModalComponent = () => {...} // component1.tsx import dynamic from 'next/...
justindao's user avatar
  • 2,311
0 votes
2 answers
67 views

ASP.NET Core MVC - Error - The lazily-initialized type does not have a public, parameterless constructor

Error - System.MissingMemberException: The lazily-initialized type does not have a public, parameterless constructor Error is self explanatory. The type do not have a public, parameterless constructor....
Ananth's user avatar
  • 10.6k
0 votes
0 answers
24 views

The first time opening a component through Lazy in Nuxt is very long

Using Nuxt layouts in the default layout I connect modals components with Lazy And when I try to open some modal, its first opening takes a very long time. Subsequent openings happen quickly. When the ...
Tim Miller's user avatar
0 votes
1 answer
32 views

How to pass a service in angular lazy loaded microfrontend

I have a microfrontend architecture. In that, I have an app called central, and I have other microfrontends that are defined in as routing in central routing module. All mfes are loading from that ...
Deviker's user avatar
  • 29
0 votes
0 answers
40 views

How to handle "Failed to fetch dynamically imported module" smoothly in a React application?

We have an application using React and lazy loading of components (with <Suspense>, lazy(() => import('...')), etc.). So when a user is on the route /foo and navigates to /bar (which is lazy ...
Romain Linsolas's user avatar

15 30 50 per page
1
2 3 4 5
401