110 questions
0 votes
0 answers
32 views
How can I defer loading of rows in a table using Angular to reduce lag in large tables?
I have a found multiple scenarios where either 100s of rows of data need to be loaded or 10s of rows need to be loaded but they all have many components inside. Is there a way to dynamically load only ...
Advice
1 vote
3 replies
61 views
Angular 20 @defer dynamic dependencies
I have an Angular component in a private npm package using ng-packagr and hosted on AWS (CodeArtifact). The purpose of the component is to be a reactive form field that shows and hides errors based on ...
0 votes
1 answer
482 views
Angular Deferrable Views not working as expected when load the defer component in the browser network
I was trying the @defer decorator to lazy load a specific component called app-box-five . Below is a screenshot of my code: enter image description here @defer (on timer(5s)) { } After waiting 5 ...
-1 votes
1 answer
158 views
How to use deferred data incapsulated in the component?
I have simple component (not page, it is separate self-sufficient component) which can be used for both authenticated and anonymous users. Products loading for some time (actually it loads ...
0 votes
1 answer
1k views
Issue with `defer` and `ng-content` in Angular 17
I am trying to render a defer block conditionally. This means that if a certain condition is met, the content will be deferred; otherwise, it should be rendered immediately. This needs to work both in ...
1 vote
2 answers
343 views
loading order multiple deferable views with on idle trigger
If I have multiple deferable views in my template that should be triggered to load on idle, what is the loading order of these views or are all these deferable views loaded simultainiously once the ...
1 vote
1 answer
2k views
in angular 17 how to display a placeholder until the image is completly loaded using @defer
This is a list of items each one contain an image I want to display the placeholder untill the image in that card is loaded what is the condition in the @defer() to make it @for (item of places; track ...
1 vote
1 answer
794 views
Do deferrable views only work inside standalone components?
I'm trying out deferrable views and have this code in the component of a normal (NgModule-based) component. @defer (on interaction) { <app-defer></app-defer> }@placeholder { <p&...
0 votes
3 answers
2k views
Deferrable Views not working when used in library repo
We are trying to implement deferrable views for a component in angular. This component is present in a component which is used by a parent in another repo. While defer seems to be working when we ...
0 votes
0 answers
1k views
Angular Standalone not Rendering in ngx-bootstrap/tabs
Greeting Programs: My Angular webpage uses dynamic tabs (ngx-bootstrap/tabs) to display different pages. I plan to migrate to @defer. I understand the first step in @defer is to convert components ...
2 votes
3 answers
2k views
Remix defer() not working as expected with the most basic example. It awaits all promises before transmitting data
I have critical data and noncritical data. Both are provided through the loader. I want to transmit the noncritical data as a promise using defer. Given the following example, I would expect "...
0 votes
1 answer
125 views
Wordpress performance discrepancies: Mobile vs Desktop
My question revolves around the seeming discrepancies between lighthouse performance scores between mobile and desktop mode. I get a 20 point negative difference from desktop (around 55) to mobile (...
3 votes
0 answers
259 views
[Flutter web]: How can we implement delayed imports in the context of index.html? With the Help of Callback Listeners and invoke from the app side
I was currently facing an issue during the initial loading time. I wanted to reduce it as much as possible. To achieve this, I implemented deferred loading and minimized the initial calls that I was ...
2 votes
0 answers
1k views
How to reduce the size of main.js file in flutter web?
I am using the deferred concept to reduce the size of the main.js file in the web build. But it only reduces the file size from 3.5MB to 3.1MB. It didn't help me that much. Is my implementation wrong? ...
0 votes
0 answers
189 views
how can I preload/defer javascript in a similar way to css
I'm using this to preload/ defer css but is there a way to also do similar with javascipt files, I've looked everywhere I can think of but not found it, maybe I'm doing the wrong searches: <link ...