Closed popmatik closed 4 years ago
Hi there,
I've noticed when the state is updated it causes a re-render of all child elements. If that is a LazyLoad image with an effect of opacity on it the CSS transition is re-triggered.
Is there any way to prevent this?
Thanks!
I figured this one out with a shouldComponentUpdate call on the parent component. Thanks.
Hi there,
I've noticed when the state is updated it causes a re-render of all child elements. If that is a LazyLoad image with an effect of opacity on it the CSS transition is re-triggered.
Is there any way to prevent this?
Thanks!