Confused with @ in components

So, i see in demos and samples..

that the use of @ is inconsistent in regard to component properties.

for example, the DataGrid, I see the following...

LoadData=@LoadData
LoadData="@LoadData"

what's the difference?

both appear to"work"

?

Blazor is flexible like that. Use whatever you like more. Funny thing is that LoadData=LoadData may work too in some cases.

1 Like