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
Currently I am using Moti to build skeleton loaders for my app. With mode="parallax" it is hard to mockup a skeleton loader for an item. My current solution is check if the loading state, and if the data is loading, I create a new Carousel and Pagination, pass in [1] for the data, and render the skeleton loader. This causes a lot of duplicate code to get everything looking nice, and is not the best implementation.
It would be amazing if the carousel had an EmptyListComponent param. Inside this param I could check the loading state and show the skeleton component. This would also pass down the sizing for mode="parallax" to the empty list component, cutting my loading code in half.
The text was updated successfully, but these errors were encountered:
Currently I am using Moti to build skeleton loaders for my app. With mode="parallax" it is hard to mockup a skeleton loader for an item. My current solution is check if the loading state, and if the data is loading, I create a new Carousel and Pagination, pass in [1] for the data, and render the skeleton loader. This causes a lot of duplicate code to get everything looking nice, and is not the best implementation.
It would be amazing if the carousel had an EmptyListComponent param. Inside this param I could check the loading state and show the skeleton component. This would also pass down the sizing for mode="parallax" to the empty list component, cutting my loading code in half.
The text was updated successfully, but these errors were encountered: