|
|
|
|
|
by tigershark
3220 days ago
|
|
So let's recap. * You don't know JSX * You have no idea of the specific example posted in this thread that I'm speaking of * You have no idea about WPF and what is a view model But nonetheless you feel entitled to discuss about things in which you have zero knowledge.
This is the JSX code posted in this thread: <div>
{listOfThings.map(thing => thing.isX ?
<X thing={thing} />
<Y thing={thing} />
)}
</div> Instead of this monstrosity in XAML would be like this:
<ItemsControl ItemsSource={Binding ListOfThings} /> But of course for you is better the JSX code.
Luckily for me you will never have to review any of my pull requests, I seriously doubt that you can accept something that you don't understand. |
|
It gets really old to see people try failed experiments over and over again, which pretty much is what you are suggesting.
Also, you got some display logic in your examples there, buddy. If you can't see it then no wonder this conversation is going in a circle.