About the problem of component out of hiding

problem description

now there is a requirement to make a floating layer for the form, on which there are a large number of custom components.
in the extreme, every cell has a component.
has a visual area, and the floating layer can move with the scroll bar, which means that there is always a part beyond the visual area.

the environmental background of the problems and what methods you have tried

  1. remove components that are out of the visual area, wait for the area to enter the visual area, and then add.
  2. keeps all components all the time.

what result do you expect? What is the error message actually seen?

what my colleague means is that too many component mounts affect performance.
I think that too many dom operations affect performance by adding or subtracting components frequently.

what do you think?

Apr.09,2021

both statements are reasonable =
I think this is a quantitative problem. If you want to solve it, you should test the browser according to the average number of components and the extreme number of components.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3fc8c-44852.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3fc8c-44852.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?