Use React context for SkeletonTheme to avoid polluting DOM
srmagura opened this issue · comments
Currently, SkeletonTheme creates a <div>
which can adversely affect styling and doesn't work through portals. A better solution would be to pass the theme down using React context.
This has been discussed here: #47
I am planning to work on this.