4 ms·
The thing about jsx is that I don't have to learn the special syntax and rules that govern the @foreach construct. jsx map accepts a js function which should r
by javcasas 3y ago
The thing about jsx is that I don't have to learn the special syntax and rules that govern the @foreach construct.
jsx map accepts a js function which should return a jsx element. Can I use...? If it works in js, yes.
- _betty_ 3y agoForeach in razor is just c# too, so it's not a language thing it's more what it transpiles to.