-
-
Notifications
You must be signed in to change notification settings - Fork 533
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
Lazy load JS modules #3159
Lazy load JS modules #3159
Conversation
I don't have time to test this today. But this seems equivalent to the previous version? Even if you had the Lazy, it should be working the same? Am I missing smthg? |
It was a guess since I cannot reproduce it. |
I think my last comment where I check the button |
I think it's okay to deploy it with either of the ways. But Let me do some testing later today. Unless you want to go with a release right away. |
I will rather wait. If all is good then I will release it tomorrow. |
We've gone back to have race conditions on the js calls. I don't think it's anything to do with the modules, but I believe this might be because we ended up fixing Dispose? Since it's now calling dispose correctly... now these race conditions are back.
If you figure it out in the meantime great! Otherwise I can help you on the weekend. |
I tried to fast switch between pages but maybe my PC is faster.
|
Some pages are easier. Try between table / forms pages. I tried with blazor.server so there shouldn't be much diff in processing between our pcs? It's not like my pc is a stone! 😅 |
|
@David-Moreira So what did we agree on in the end. This is OK to merge? |
closes #3150
Adds the lazy load support for JS modules. It should work better when running along with the async code.