-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
[Bug?] How to call into JSInterop from SetParameters? #15730
Comments
In fact, I have been able to call the async code properly at all. Here is what I tried:
or as:
in both case the Blazor app fails to load with no errors another attempt was:
Or
Both these dont work either, but at least the app loads. Is there a way to call JS from within |
@SteveSandersonMS Sorry to bother you, but I think this is problematic, or am I missing something? |
Maybe this will help https://github.com/aspnet/Blazor/issues/1240#issuecomment-410725576 |
@chanan I think making the JS call from |
Now that calling JS is async it is problematic that
SetParameters
is still sync. In my case, I need to call a JS method inside ofSetParameters
before the call to_renderHandle.Render(Render);
. Would it be possible to make_renderHandle.Render(Render);
async as well?The text was updated successfully, but these errors were encountered: