Netanel Basal
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 consthasSupport` 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.

--

--

Netanel Basal
Netanel Basal

Written by Netanel Basal

A FrontEnd Tech Lead, blogger, and open source maintainer. The founder of ngneat, husband and father.

No responses yet