Replies: 1 comment
-
|
Thanks for the feedback, these are good edge cases.
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the feedback, these are good edge cases.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@piecyk I've been trying out
directDomUpdates, and I have the following questions:Why not accept a
directDomContaineroption instead tacking a ref callback onto the virtualizer instance? That feel more idiomatic React to me.Would it be possible to have
applyDirectStylesbail out early ifstate.containerisnull? I.e. skip updating the items elements' styles? This is useful if someone wants to bail out of causing some re-renders but want to implement their own direct DOM updates. In my case I have a table with a subgrid layout, and absolute positioning breaks grid for subgrid items, so I must implement my own, because my element transforms needs to be different.The docs for
directDomUpdatesare published, but AFAICT it's not in a stable release yet… Is that correct?Beta Was this translation helpful? Give feedback.
All reactions