You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow the client to access additional metadata when running the custom measureElement item callback.
For example, if I'm caching height values on the client side to avoid expensive recalculations on certain scenarios I could do ,this given access to the index of the measurable element through an extra metadata parameter.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Allow the client to access additional metadata when running the custom
measureElement
item callback.For example, if I'm caching
height
values on the client side to avoid expensive recalculations on certain scenarios I could do ,this given access to theindex
of the measurable element through an extra metadata parameter.Thoughts on this? Other alternatives to achieve the same with the current APIs that I'm missing?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions