-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#104] Implement StyledGroup component to handle style loading state. #105
Conversation
Awesome, I will take a look at this after I fix the issues with system.text.json and the object pool extensions dll. Regarding performance, Many of the performance gains of v3 are in parsing code which occur prior to the javascript call. What are you thoughts of v3.5 adding back the older style of writting to the head using a Blazor tag (like it was doing in v2) assuming that part is faster than the pure javascript way. You would lose some functionality but I don't think you are using those things anyway. It would take some work on my part to support both ways, but then end user can choose which way they want to use BlazorStyled. Thoughts? |
Tested on my current project, seems to work fine. Known issues:
Remarks:
Answering your question: |
@esso23 I was waiting for MS to solve: dotnet/aspnetcore#23126 before merging this, but it seems it isn't going to be so fast, so I will merge this either over the weekend or early next week. Sorry for the delay. |
I pushed the debouncer aswell since it was useless without it in my case. I was using timeouts between 250-500ms to eliminate flickers. |
@esso23 Sorry for the very late reply on this. I was finally able to fix the issue with BlazorStyled and system.text.json. I put the Tag
and in the output window:
|
A little more info on this, there seems to be an infinite loop in StyledGroupContext.SetRendering |
Released 3.1.0 |
#104
WIP
Usage:
This is my proposal to solve the issue mentioned in #104.
Possible improvements: