Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Lists

To create a list of elements — map your array on a JSX element, String, or Observable

import Recks from 'recks';

function App() {
  const items = ['a', 'b', 'c', 'd'];

  return <ul>{
    items.map(letter => <li key={letter}>{letter}</li>)
  }</ul>
}

Last updated

Was this helpful?