---
title: "Discussion on \"Component mapping in React\" | Hashnode"
description: "Discussion on \"Component mapping in React\". You definitely would have made use of the array.map() feature of JavaScript in React, probably to map a list of items or some data into your app's UI. But, what if you could do just that to your components?\nIn this short guide, I'd show you how to ac..."
url: "https://hashnode.com/posts/component-mapping-in-react/5fb4a1f2b589f1618af9e1d8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Component mapping in React](https://seven.hashnode.dev/component-mapping-in-react?utm_source=hashnode&utm_medium=feed)

You definitely would have made use of the array.map() feature of JavaScript in React, probably to map a list of items or some data into your app's UI. But, what if you could do just that to your components? In this short guide, I'd show you how to ac...

Nov 18, 2020 · 4 min read · seven.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)

## Written by

[Caleb Olojo](https://hashnode.com/@Seven_)

@Seven\_

  
[View profile](https://hashnode.com/@Seven_)

Frontend Developer

## Responses 2

Markdown supported · ⌘↵ to post

[Favourite Jome](https://hashnode.com/@Favourite)

[Jan 1, 2021](https://hashnode.com/posts/component-mapping-in-react/5fb4a1f2b589f1618af9e1d8/comment/5fef85c845519f71a3334ea2)

Interesting! I'll try it out sometime.

I'm still new to React and I see your point.

[Pacholo Amit](https://hashnode.com/@pacholoamit)

[Nov 18, 2020](https://hashnode.com/posts/component-mapping-in-react/5fb4a1f2b589f1618af9e1d8/comment/5fb54bea06b1b06dab85028b)

Great article, I use the map function a lot in react especially if I'm rendering components based on a list I get from an API. :)

[Caleb Olojo](https://hashnode.com/@Seven_)

[Nov 18, 2020](https://hashnode.com/posts/component-mapping-in-react/5fb4a1f2b589f1618af9e1d8/comment/5fb54bea06b1b06dab85028b#reply-5fb55fe24979356f7347b90a)

Thanks, Pacholo!

I just borrowed the idea of rendering lists with the map function, to render a list of components instead
