---
title: "Discussion on \"Just use children\" | Hashnode"
description: "Discussion on \"Just use children\". This post was sent on my newsletter a few weeks ago, just saying.\nThis is part of a series of posts about writing good components\n\nNo, this isn't a post about child labour. It's a post about using children as props. Wait that doesn't sound right eith..."
url: "https://hashnode.com/posts/just-use-children/5c580a118b67e06366e6c3b6"
---

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

Discussion

# [Just use children](https://hashnode.com/post/just-use-children?utm_source=hashnode&utm_medium=feed)

This post was sent on my newsletter a few weeks ago, just saying. This is part of a series of posts about writing good components No, this isn't a post about child labour. It's a post about using children as props. Wait that doesn't sound right eith...

Feb 4, 2019 · hashnode.com  
Updated Feb 19, 2019  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#components](https://hashnode.com/tag/components)

## Written by

[Sid](https://hashnode.com/@siddharthkp)

@siddharthkp · Amsterdam, Netherlands

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

ui at @codesandbox + building @ReactUI 🎨 design systems developer, wannabe designer

## Responses 2

Markdown supported · ⌘↵ to post

[JS Artisan](https://hashnode.com/@jsartisan)

[Feb 5, 2019](https://hashnode.com/posts/just-use-children/5c580a118b67e06366e6c3b6/comment/5c590ccc90b3031d13e92b36)

This is the exact approach i follow. I hate when people define like 10 props for ui component and use if else in that component. Damn it! Just use the children.

[Sid](https://hashnode.com/@siddharthkp)

[Feb 5, 2019](https://hashnode.com/posts/just-use-children/5c580a118b67e06366e6c3b6/comment/5c590ccc90b3031d13e92b36#reply-5c591dcb90b3031d13e92c3a)

I feel you

Next time, send them this article instead 😋

[Alba Nitich](https://hashnode.com/@albanitich)

[Feb 4, 2019](https://hashnode.com/posts/just-use-children/5c580a118b67e06366e6c3b6/comment/5c5822041d11b7156cb8ba15)

Wow! That's cool.
