---
title: "Comment by JS Artisan on \"Just use children\" | Hashnode"
description: "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."
url: "https://hashnode.com/posts/just-use-children/5c580a118b67e06366e6c3b6/comment/5c590ccc90b3031d13e92b36"
---

[Discussion](https://hashnode.com/posts/just-use-children/5c580a118b67e06366e6c3b6)

Comment [Just use children](https://hashnode.com/posts/just-use-children/5c580a118b67e06366e6c3b6)

[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 😋
