MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/72lh17/react_16/dnk8f0u/?context=3
r/javascript • u/batmansmk • Sep 26 '17
63 comments sorted by
View all comments
Show parent comments
28
Still waiting for the <> </> syntax as a shorthand for a list of children without a parent. It's silly to have to provide key for every element of a statically known list.
<> </>
key
11 u/gelezinislokys Sep 26 '17 react-aux -13 u/[deleted] Sep 26 '17 So I can find later. 16 u/kylemh Sep 27 '17 You can save comments! 😎
11
react-aux
-13 u/[deleted] Sep 26 '17 So I can find later. 16 u/kylemh Sep 27 '17 You can save comments! 😎
-13
So I can find later.
16 u/kylemh Sep 27 '17 You can save comments! 😎
16
You can save comments! 😎
28
u/MOON_MOON_MOON Sep 26 '17
Still waiting for the
<> </>syntax as a shorthand for a list of children without a parent. It's silly to have to providekeyfor every element of a statically known list.