How much elements can I keep in the "detached" state in the DOM ? Is there any limit?
There is no limit; A javascript program can use up all your RAM without being stopped.
Different browsers have certain limitations depending on what you're doing (like very large getImageData
and putImageData
you may run into problems). But generally there is no limit.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.