---
title: "Discussion on \"How is props.children added inside opening and closing tags in React JS with children=\"xyz\" attribute?\" | Hashnode"
description: "Discussion on \"How is props.children added inside opening and closing tags in React JS with children=\"xyz\" attribute?\". The children prop in React JS is a special prop that is automatically passed to every component. It can be used to render the content included between the opening and closing tags when invoking a component.\nTo add props.children inside opening and cl..."
url: "https://hashnode.com/posts/how-is-propschildren-added-inside-opening-and-closing-tags-in-react-js-with-childrenxyz-attribute/64820cd9c5729c5f9f9f020c"
---

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

Discussion

# [How is props.children added inside opening and closing tags in React JS with children="xyz" attribute?](https://iamsamarthmishra.hashnode.dev/how-is-propschildren-added-inside-opening-and-closing-tags-in-react-js-with-childrenxyz-attribute?utm_source=hashnode&utm_medium=feed)

The children prop in React JS is a special prop that is automatically passed to every component. It can be used to render the content included between the opening and closing tags when invoking a component. To add props.children inside opening and cl...

Jun 8, 2023 · 2 min read · iamsamarthmishra.hashnode.dev  
Read the article

-   [#props](https://hashnode.com/tag/props)
-   [#reactjs-props-components-data-flow-modularity-reusability-javascript-front-end-development-user-interfaces-web-development-programming](https://hashnode.com/tag/reactjs-props-components-data-flow-modularity-reusability-javascript-front-end-development-user-interfaces-web-development-programming)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Samarth Mishra](https://hashnode.com/@samarthmishraxyz)

@samarthmishraxyz · India

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

Life is a journey not a race

I'm a passionate and versatile professional with 3+ years of hands-on experience in cybersecurity, software engineering, and web development. Samarth has dual degrees in Bachelor of Computer Applications (BCA) and Bachelor of Business Administration (BBA) from Allenhouse Group of Colleges and IGNOU, showcasing a unique blend of technical expertise and business acumen. Certified as a Cisco Certified Network Associate (CCNA) and Certified Information Systems Security Professional (CISSP), I specialise in security architecture and risk management, with proficiency in tools like Flutter, React.js, Node.js, and Firebase.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
