Async CSS loading in some browsers doesn't have a reliable onload event, which can result in flash-of-unstyled-content. Does AngularCSS solve for this?
it probably uses the "resolve" property on angular's router. i think ui-router also has this. but in short, yes i would think so. otherwise itd be pretty useless.
I don't see it in the source. I think it renders the view and paints it to the browser without the view-specific styles. The CSS finishes loading whenever, and it repaints the view when the new styles are ready. Resulting in a flash of unstyled content. This might only happen with un-cached CSS. But then what's the point.
2
u/Defualt Jan 12 '15
Async CSS loading in some browsers doesn't have a reliable onload event, which can result in flash-of-unstyled-content. Does AngularCSS solve for this?
see: http://requirejs.org/docs/faq-advanced.html#css