1 min readMay 3, 2020
One of the major drawbacks of CDK virtual scroll (at least last time I was using it, that is) was that it required all items to share same height and the height to be declared
Yeap. That’s what I meant when I was saying “doesn’t work with any design”.
I am just curious (in terms of the coding style) — why did you extract
const
hasSupport` to the file root and not keep it local to `inView`? Is there a performance win somewhere?
Not a noticeable one. I just prefer to run it once.