Doesn't that produce the "array items should have key prop" message?
Also you can use `items.map` in your example.
I only wanted to show that react doesn't specify a programming style. He said javascript maps are "quirky." Maps are fine but so are plain loops. Ternaries are fine, so are plain if-then-else constructs if someone would like it better that way.
The example would run without keys, it's merely for demonstration. You'd need keys in Vue as well.
> be constantly aware of small quirks like keys when looping
There are no "quirks" in looping anything. It is plain javascript. I would call "v-for" a quirk on the other hand.
Recreate the snippet above, then let's discuss.