Рендеринг массива элементов в качестве компонента.

  1. Нужно прописывать атрибуты key
  2. Нужно после каждого элемента добавлять запятую (так как массив)

--

--

--

Lead developer at talantix.ru

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mostovoy Nikita

Mostovoy Nikita

Lead developer at talantix.ru

More from Medium

Uniting React Router and Angular’s UI-Router

Styling React Components Using Styled-Components

6 Techs to become most wanted fullstack developer + amazing courses

React Context api in React-Native

Theme toggle with react context