HackerTrans
トップ新着トレンドコメント過去質問紹介求人

rednotebook

no profile record

コメント

rednotebook
·9 年前·議論
better yet - don't create functions, especially inside a loop, in your render function,

getItem = i => <Item item={i}/>

...

<List> {items.map(getItem)} </List>