Delayed loading not work
See original GitHub issueThe component always show “No Sub-options” when using loadOptions, here is the code:
async loadOptions({action, parentNode, callback}) {
if (action === LOAD_CHILDREN_OPTIONS) {
const {name} = parentNode;
if (name) {
const {data} = await getSubCategory({name});
parentNode.children = data;
callback();
} else {
parentNode.children = [];
}
}
}
How can I solve this problem?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Native lazy-loading (loading=lazy) not working even with flags ...
I use Chrome by default and it was not working. ... It turns out Chrome is more impatient than Firefox when loading images...
Read more >Lazy loading - Web performance | MDN
Lazy loading is a strategy to identify resources as non-blocking (non-critical) and load these only when needed. It's a way to shorten the ......
Read more >Browser-level image lazy loading for the web - web.dev
This post covers the loading attribute and how it can be used to control the loading of images.
Read more >5.5 lazy loading doesn't work for me - WordPress.org
I just updated to 5.5 and used a custom lazy loading script (blazy.js) before. I disabled it and want to check the new...
Read more >Lazy loading not working · Issue #65 · hrsh7th/nvim-cmp
I am transitioning from nvim-compe to nvim-cmp but I am unable to lazy load this plugin which was not the case with nvim-compe...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MeFelixWang The same problem, how did you solve it
I have the same issue, any hints on how to solve?