Why is createJSObjectReference
not usable for functions?
#55259
Unanswered
trungnt2910
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
createJSObjectReference
, the function that powersIJSRuntime
andIJSObjectReference
, has this line:aspnetcore/src/JSInterop/Microsoft.JSInterop.JS/src/src/Microsoft.JSInterop.ts
Line 148 in 7033ec7
This means things like this will fail:
Why is that check there in the first place? Without such restrictions, issues like #31151 are basically solved.
Beta Was this translation helpful? Give feedback.
All reactions