Похожие чаты

I'M working on a project where I have a lot

of iframes generated in a setinterval, it redraws correctly at interval, I also have checkboxes to select the iframes I want to see and all is working fine till a point where I cannot access the iframes, get documentbyid of the frame return null, even if I can see it, and it keeps updating at interval
with just a few frames I do not get the errors with all 190, in 3mn I get the console filling up with errors
I'm afraid I have a big bug somewhere, or a mistake in the logic
any clues on what I can check?

6 ответов

10 просмотров

Without a codepen it's hard to say. I assume there's a memory leak somewhere.

Fab-horn Автор вопроса
Pedro Aguiar
Without a codepen it's hard to say. I assume there...

the code is online, i'm working on the production server, viction.io/pred/fab/gauges.wip.html

Fab horn
the code is online, i'm working on the production ...

Wait are you refreshing the entire page after the predefined interval?

Fab-horn Автор вопроса
Pedro Aguiar
Without a codepen it's hard to say. I assume there...

and yes, it's a mess, it's my 1st big app in JS

Fab horn
and yes, it's a mess, it's my 1st big app in JS

You might want to look into ReactJS/NextJS or VueJS

Fab-horn Автор вопроса
Pedro Aguiar
Wait are you refreshing the entire page after the ...

each iframes reload on in the setInverval call in loadGauges, not the main document

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта