-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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
Should we use Action<T> or EventCallback<T> for binding? #12126
Comments
[EDIT] Cleaning this up. Thought the question was "which type should we use for binding?" WRT However WRT what we have on
The last sentence makes sense. The part that I find a hair cryptic is the "better error feedback" bit. It leaves me wondering what kind of improved feedback is provided and for what types of errors? I imagine that we can be more specific there. I'll mark this for engineering to take a look and respond. No ETA on a response, but we should get an answer soon-ish. |
... oh ... good 👁️ on |
@guardrex it looks that you are confused with my question
which is written immediately below this text
I'm sorry, it is really confusing. The real and most important question is in the title of this issue:
and I see that you have already made a correction. |
That's right ... At first, I was 🏃 too fast and only looked at the last two lines. The dotnet/aspnetcore#6351 was used to generate the text, but a lot of that language doesn't lend itself to use in a reference document of this nature. Most devs just want to know what is it?, when do I use it?, how do I use it?, and what are the gotchas?. The discussion on the issue gets into a lot of history and implementation details that we probably don't want in the doc. However, I still find our current doc text a hair cryptic. Engineering will let us know if/what changes to make. Let's leave this open. I marked it for triage. |
@Andrzej-W It seems the PR that I put in almost completely resolved this. Engineering (and docs) are 100% 👍 with
We still have that generic remark that " Is there anything else significant that requires attention? |
@guardrex In
I think that A few lines below we have this sentence:
I have to say that I don't understand this sentence at all. It suggests that |
Can't change that ... Microsoft documentation guidelines call for "selected." We have to say "focused" (for focused) and "selected" (for clicked).
@danroth27, do we need this retain this remark? |
I think this sentence can be removed, especially if it's causing more confusion than good |
In child component example in "Data binding" section you have this code:
Near the end of "Event handling" section we can read:
So the question is: which type should we use for binding?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: