DEV Community

Discussion on: The Loading Shimmer!

Collapse
 
dhilipkmr profile image
Dhilip kumar

Avoid using 'display: none' if that Part of the element is never gonna be shown in the future.

In our case, once the data loads we might not need to have the shimmer in the DOM. So remove it conditionally :)