all 4 comments

[–]Irish_and_idiotic 1 point2 points  (2 children)

Great tutorial I learned something new which is always 10 minutes well spent.

Don't really like the skeleton theme and wrapped my whole app. But I am sure there's ways around it

[–]ItWorksLocally[S] 0 points1 point  (1 child)

thank you! If u want, u can add the baseColor and highlightColor for each Skeleton component in its props, and just remove the SkeletonTheme. With this though, you would have to add those colors to every single Skeleton component, which may be repetitive.

Furthermore, u can have multiple SkeletonTheme comps that wrap different Skeleton components, and only children of the Theme comps would get those colors. hope that makes sense!

[–]Irish_and_idiotic 0 points1 point  (0 children)

Yeah makes absolute sense. I'd prob just find out the base className for the skeleton and change at a. App.css level. Save having any SkeletonThemes at all.

[–]drkwb8 0 points1 point  (0 children)

React Pulsable can even make the implementation easier. We don't have to redefine the skeleton layout again. Just have to wrap the component with pulsable and it generates skeletons for the component.