Andrej Kmetík
Andrej Kmetík
This issue is actually pretty important. I had to switch from isolated classes (bind-classname) to global styles, because the components first got rendered without styles and then got rerendered. This...
OK thanks, I'll try that. Also, I'm not sure if you're aware, but there's this issue in Blazor repo https://github.com/dotnet/aspnetcore/issues/10170 and this tag https://github.com/dotnet/aspnetcore/labels/feature-blazor-css-isolation They plan to release it in...
Sadly I can't share the code since it's a commercial product and reproducing it would be quite time-consuming. Anyway, I played with profiling a bit and I traced the problem...
Yea, my only use case is this: ``` css @code { private string SomeClass; } ``` I'm not using any other features of BlazorStyled anywhere in the code (except for...
You can use ContinueWith() where you can trigger an event to show the component when the task finishes or "subscribe" to task completion in some other way. IMHO, having longer...
Hm, what I'm trying to say is that the current solution is not good and adding an attribute is not going to make it better. Making the methods async is...
Just to paint the picture of what's the difference in my case. I measured the time since I hit the refresh button in the browser until everyhing gets rendered correctly:...
Also, is it documented somewhere how to hide the component until all the styles are loaded?
`IStyled.CssAcync` is just as fast ass `IStyled.Css` if I remove the await. So it's not about using async/sync methods, it's only about the blocking of `OnAfterRenderAsync` method on call to...
Yes, it worked with 2.2.0. Thanks, I'll use this in the meantime.