--

Hi Gerard, very interesting article, thanks for publishing!

I've just learned a lot from you, so maybe I can also teach you something ;)

When we map items, it is not necessary to wrap them in a React.Fragment:

```js

return (

<>

{items.map((item) => (

```

It is perfectly OK to just return an array of elements:

```js

return items.map((item) => (

```

And small bonus (similar to your "recursion" search) - try searching for "conway's game of life" :)

--

--

Krzysztof Kwieciński
Krzysztof Kwieciński

Written by Krzysztof Kwieciński

Software Craftsman who loves learning new things and is always eager to share his knowledge with others

No responses yet