{"id":2404,"date":"2019-09-25T12:56:38","date_gmt":"2019-09-25T07:26:38","guid":{"rendered":"https:\/\/www.concettolabs.com\/blog\/?p=2404"},"modified":"2025-04-08T10:30:42","modified_gmt":"2025-04-08T10:30:42","slug":"all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs","status":"publish","type":"post","link":"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/","title":{"rendered":"All You Need to Know Before Learning Container &#038; Presentational Components in ReactJS"},"content":{"rendered":"<p>Components allow us to divide the different responsibilities of applications into separate pieces and <strong>reactjs applications are composed<\/strong> of \u2018families\u2019 components.<\/p>\n<p>Today, we are going to talk about Stateful and Stateless Components, and before starting let me give a brief introduction of what is State, What is Component, What is Stateful and Stateless Components.<\/p>\n<p>The key step to learning to react is to understand the difference between stateful and stateless components and which ones are responsible for managing the state.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"State\"><\/span>State<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>An object inside the constructor method of a class that must be in stateful components and used for internal communication inside an element.<\/p>\n<p>The state allows the creation of components that are reusable and interactive. It is unstable and can only be changed by using the setState() method.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Component\"><\/span>Component<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>React applications are divided<\/strong> into smaller atoms and each atom represents a component. The basic building of a React enterprise application is known as components that can be either a class component or a functional component.<\/p>\n<p>Generally, React components are independent and reusable that contain JavaScript XML Syntax &#8211; JSX which is a combination of JS + HTML.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Stateful_and_Stateless_Components\"><\/span>Stateful and Stateless Components<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Stateful and Stateless Components are also known as Smart and Dumb components, Container and Presentational components. The major difference between both of them is that one has a state and the other doesn&#8217;t.<\/p>\n<p>In the Stateful components, the state gets initialized in the constructor. Stateful components keep track of data and store the information about the component\u2019s state change memory.<\/p>\n<p>The stateless component is those who don\u2019t have a state which means you can not use a state under the components something like a normal function with no render method. Stateless components print out what is given to them using props.<\/p>\n<p>So, these are the basic introduction about all now the next question that arises in mind is what about <a href=\"https:\/\/programmingwithmosh.com\/javascript\/stateful-stateless-components-react\/\" target=\"_blank\" rel=\"nofollow\">Stateful Vs. Stateless components in React Js<\/a>.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Stateful_Vs_Stateless_Components_in_React_Js\"><\/span>Stateful Vs. Stateless Components in React Js<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2407 size-full\" title=\"Stateful Vs. Stateless Components\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_4_6022888772-1.png\" alt=\"Stateful Vs. Stateless Components\" width=\"749\" height=\"409\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_4_6022888772-1.png 749w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_4_6022888772-1-300x164.png 300w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/p>\n<p>A stateful component can render both state and props but a stateless component can render props.<br \/>\nIn stateless components the props are displayed as {props.name} whereas in stateful components, the props and state are rendered like {this.props.name} and {this.state.name} respectively.<\/p>\n<p>The output of stateless components depends upon the props value and for stateful components, output depends on the value of the state.<\/p>\n<p>A functional component is always a stateless component whereas a class component can be stateful and stateless both.<\/p>\n<p>The impressive thing to remember about stateless and stateful components is that the states of the presentational components are separated from the container components and the value of it does not affect the main state.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"We_will_also_see_how_state_management_works_in_reactjs\"><\/span>We will also see how state management works in reactjs.<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A component with a state is one that holds some data. It has its own internal state, which means that it knows what it looks like at any given moment. This allows us to make changes to our UI without having to rerender the entire application.<\/p>\n<p>In contrast, a component without a state is called a &#8220;Stateless&#8221; component. It does not maintain any state between renders. The component&#8217;s props (props) are passed into the component from the parent component. These props are used to update the component&#8217;s appearance.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Now_The_Thing_To_Focus_On_Is_When_To_Make_A_Component_Stateful_or_Stateless\"><\/span>Now, The Thing To Focus On Is When To Make A Component Stateful or Stateless:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Simple whenever you want to have a dynamic output that means whenever the state changes the output will change &#8211; you need to make your component stateful.<\/p>\n<p>On the other side if there\u2019s no state requirement &#8211; you need to make the component stateless.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Some_Useful_Guidelines\"><\/span>Some Useful Guidelines<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>Visualize your website first<\/strong>, if it were one component then break it down into smaller components.<br \/>\nYou will need to state somewhere when the information dynamically changes. Make an aim to have a parent component to keep all the information and pass it to its children stateless components.<\/p>\n<p>Is it feel systematic. To have a parent component pass data down to its children and also assures that regarding state management if any debugging is required than parent component to see what\u2019s up, instead of checking the state in each child component.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Wrap_UP\"><\/span>Wrap UP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2406 \" title=\"ReactJs\" src=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/ReactJs-1.jpeg\" alt=\"ReactJs\" width=\"902\" height=\"506\" srcset=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/ReactJs-1.jpeg 739w, https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/ReactJs-1-300x168.jpeg 300w\" sizes=\"auto, (max-width: 902px) 100vw, 902px\" \/><\/p>\n<p>The right choice for building the presentational components is stateless components as they are more elegant and usually are the right choice.<\/p>\n<p>Generally, you will not find it challenging to write and understand them; they are very straightforward to test.<\/p>\n<p>\u2018This\u2019 keyword is not required that has always been a significant cause of confusion. Stateful components tend to combine logic and presentation in one single class and are not easy to test and also can be the wrong choice for separation issues.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"ReactJs_Development_Company_India\"><\/span>ReactJs Development Company India<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Being <a href=\"https:\/\/www.concettolabs.com\/reactjs-development-company\"><strong>ReactJs development company<\/strong><\/a> we make the best use of its exceptional feature \u2018reusability\u2019.<\/p>\n<p>With our team of experts, we acquire the best outcome by splitting the interface segments into smaller components. The process of breaking down a web app into a number of independent components consumes fewer efforts and results in a highly scalable ReactJS web development.<\/p>\n<p>You can also <a href=\"https:\/\/www.concettolabs.com\/hire-reactjs-developer\"><strong>hire ReactJS developer<\/strong><\/a> from us and that helps to complete your dreams of a great application.<\/p>\n<div class=\"blog-cta blog-block-11 text-center\"><h4>All You Need to Know Before Learning Container & Presentational Components in ReactJS<\/h4><p><\/p><a class=\"btn btn-contact mt-20\" href=\"https:\/\/www.concettolabs.com\/inquiry\">Contact Us<\/a><\/div>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#State\" >State<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#Component\" >Component<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#Stateful_and_Stateless_Components\" >Stateful and Stateless Components<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#Stateful_Vs_Stateless_Components_in_React_Js\" >Stateful Vs. Stateless Components in React Js<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#We_will_also_see_how_state_management_works_in_reactjs\" >We will also see how state management works in reactjs.<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#Now_The_Thing_To_Focus_On_Is_When_To_Make_A_Component_Stateful_or_Stateless\" >Now, The Thing To Focus On Is When To Make A Component Stateful or Stateless:<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#Some_Useful_Guidelines\" >Some Useful Guidelines<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#Wrap_UP\" >Wrap UP<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#ReactJs_Development_Company_India\" >ReactJs Development Company India<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Components allow us to divide the different responsibilities of applications into separate pieces and reactjs applications are composed of \u2018families\u2019 components. Today, we are going to talk about Stateful and Stateless Components, and before starting let me give a brief introduction of what is State, What is Component, What is Stateful and Stateless Components. The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2405,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[146],"tags":[],"class_list":["post-2404","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Learning Container &amp; Presentational Components in ReactJS<\/title>\n<meta name=\"description\" content=\"Being ReactJs development company we make the best use of its exceptional feature \u2018reusability\u2019. With our team of experts.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Learning Container &amp; Presentational Components in ReactJS\" \/>\n<meta property=\"og:description\" content=\"Being ReactJs development company we make the best use of its exceptional feature \u2018reusability\u2019. With our team of experts.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog Concetto Labs\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/concettolabs\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/manish.patel.710\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-25T07:26:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-08T10:30:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_2_2820623461-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"783\" \/>\n\t<meta property=\"og:image:height\" content=\"391\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Manish Patel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/withmanish\" \/>\n<meta name=\"twitter:site\" content=\"@concettolabs\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Manish Patel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/\"},\"author\":{\"name\":\"Manish Patel\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#\/schema\/person\/ae8defa7fb1f50f887fa0c3585101c15\"},\"headline\":\"All You Need to Know Before Learning Container &#038; Presentational Components in ReactJS\",\"datePublished\":\"2019-09-25T07:26:38+00:00\",\"dateModified\":\"2025-04-08T10:30:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/\"},\"wordCount\":887,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_2_2820623461-1.jpg\",\"articleSection\":[\"Web Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/\",\"url\":\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/\",\"name\":\"Learning Container & Presentational Components in ReactJS\",\"isPartOf\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_2_2820623461-1.jpg\",\"datePublished\":\"2019-09-25T07:26:38+00:00\",\"dateModified\":\"2025-04-08T10:30:42+00:00\",\"description\":\"Being ReactJs development company we make the best use of its exceptional feature \u2018reusability\u2019. With our team of experts.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#primaryimage\",\"url\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_2_2820623461-1.jpg\",\"contentUrl\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_2_2820623461-1.jpg\",\"width\":783,\"height\":391,\"caption\":\"React Js development company\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.concettolabs.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"All You Need to Know Before Learning Container &#038; Presentational Components in ReactJS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#website\",\"url\":\"https:\/\/www.concettolabs.com\/blog\/\",\"name\":\"Blog Concetto Labs\",\"description\":\"Microsoft Power Platform &amp; Mobile App Development Company\",\"publisher\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#organization\"},\"alternateName\":\"Concetto Labs\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.concettolabs.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#organization\",\"name\":\"Concetto Labs\",\"url\":\"https:\/\/www.concettolabs.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2022\/04\/c-logo.png\",\"contentUrl\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2022\/04\/c-logo.png\",\"width\":150,\"height\":150,\"caption\":\"Concetto Labs\"},\"image\":{\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/concettolabs\",\"https:\/\/x.com\/concettolabs\",\"https:\/\/www.instagram.com\/concettolabs\/\",\"https:\/\/www.linkedin.com\/company\/concetto-labs-private-limited\",\"https:\/\/in.pinterest.com\/concettolabs\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#\/schema\/person\/ae8defa7fb1f50f887fa0c3585101c15\",\"name\":\"Manish Patel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.concettolabs.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2026\/05\/cropped-Manish-1-96x96.png\",\"contentUrl\":\"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2026\/05\/cropped-Manish-1-96x96.png\",\"caption\":\"Manish Patel\"},\"description\":\"Manish Patel is a Co-Founder of Concetto Labs, a leading mobile app development company specialized in android and iOS app development. We provide a one-stop solution for all IT related services.\",\"sameAs\":[\"https:\/\/www.concettolabs.com\/blog\",\"https:\/\/www.facebook.com\/manish.patel.710\",\"https:\/\/www.linkedin.com\/in\/manishpatel2509\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/withmanish\"],\"url\":\"https:\/\/www.concettolabs.com\/blog\/author\/manish-patel\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Learning Container & Presentational Components in ReactJS","description":"Being ReactJs development company we make the best use of its exceptional feature \u2018reusability\u2019. With our team of experts.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/","og_locale":"en_US","og_type":"article","og_title":"Learning Container & Presentational Components in ReactJS","og_description":"Being ReactJs development company we make the best use of its exceptional feature \u2018reusability\u2019. With our team of experts.","og_url":"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/","og_site_name":"Blog Concetto Labs","article_publisher":"https:\/\/www.facebook.com\/concettolabs","article_author":"https:\/\/www.facebook.com\/manish.patel.710","article_published_time":"2019-09-25T07:26:38+00:00","article_modified_time":"2025-04-08T10:30:42+00:00","og_image":[{"width":783,"height":391,"url":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_2_2820623461-1.jpg","type":"image\/jpeg"}],"author":"Manish Patel","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/withmanish","twitter_site":"@concettolabs","twitter_misc":{"Written by":"Manish Patel","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#article","isPartOf":{"@id":"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/"},"author":{"name":"Manish Patel","@id":"https:\/\/www.concettolabs.com\/blog\/#\/schema\/person\/ae8defa7fb1f50f887fa0c3585101c15"},"headline":"All You Need to Know Before Learning Container &#038; Presentational Components in ReactJS","datePublished":"2019-09-25T07:26:38+00:00","dateModified":"2025-04-08T10:30:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/"},"wordCount":887,"commentCount":0,"publisher":{"@id":"https:\/\/www.concettolabs.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#primaryimage"},"thumbnailUrl":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_2_2820623461-1.jpg","articleSection":["Web Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/","url":"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/","name":"Learning Container & Presentational Components in ReactJS","isPartOf":{"@id":"https:\/\/www.concettolabs.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#primaryimage"},"image":{"@id":"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#primaryimage"},"thumbnailUrl":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_2_2820623461-1.jpg","datePublished":"2019-09-25T07:26:38+00:00","dateModified":"2025-04-08T10:30:42+00:00","description":"Being ReactJs development company we make the best use of its exceptional feature \u2018reusability\u2019. With our team of experts.","breadcrumb":{"@id":"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#primaryimage","url":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_2_2820623461-1.jpg","contentUrl":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_2_2820623461-1.jpg","width":783,"height":391,"caption":"React Js development company"},{"@type":"BreadcrumbList","@id":"https:\/\/www.concettolabs.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.concettolabs.com\/blog\/"},{"@type":"ListItem","position":2,"name":"All You Need to Know Before Learning Container &#038; Presentational Components in ReactJS"}]},{"@type":"WebSite","@id":"https:\/\/www.concettolabs.com\/blog\/#website","url":"https:\/\/www.concettolabs.com\/blog\/","name":"Blog Concetto Labs","description":"Microsoft Power Platform &amp; Mobile App Development Company","publisher":{"@id":"https:\/\/www.concettolabs.com\/blog\/#organization"},"alternateName":"Concetto Labs","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.concettolabs.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.concettolabs.com\/blog\/#organization","name":"Concetto Labs","url":"https:\/\/www.concettolabs.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.concettolabs.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2022\/04\/c-logo.png","contentUrl":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2022\/04\/c-logo.png","width":150,"height":150,"caption":"Concetto Labs"},"image":{"@id":"https:\/\/www.concettolabs.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/concettolabs","https:\/\/x.com\/concettolabs","https:\/\/www.instagram.com\/concettolabs\/","https:\/\/www.linkedin.com\/company\/concetto-labs-private-limited","https:\/\/in.pinterest.com\/concettolabs\/"]},{"@type":"Person","@id":"https:\/\/www.concettolabs.com\/blog\/#\/schema\/person\/ae8defa7fb1f50f887fa0c3585101c15","name":"Manish Patel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.concettolabs.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2026\/05\/cropped-Manish-1-96x96.png","contentUrl":"https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2026\/05\/cropped-Manish-1-96x96.png","caption":"Manish Patel"},"description":"Manish Patel is a Co-Founder of Concetto Labs, a leading mobile app development company specialized in android and iOS app development. We provide a one-stop solution for all IT related services.","sameAs":["https:\/\/www.concettolabs.com\/blog","https:\/\/www.facebook.com\/manish.patel.710","https:\/\/www.linkedin.com\/in\/manishpatel2509\/","https:\/\/x.com\/https:\/\/twitter.com\/withmanish"],"url":"https:\/\/www.concettolabs.com\/blog\/author\/manish-patel\/"}]}},"_links":{"self":[{"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/posts\/2404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/comments?post=2404"}],"version-history":[{"count":5,"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/posts\/2404\/revisions"}],"predecessor-version":[{"id":17289,"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/posts\/2404\/revisions\/17289"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/media\/2405"}],"wp:attachment":[{"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/media?parent=2404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/categories?post=2404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.concettolabs.com\/blog\/wp-json\/wp\/v2\/tags?post=2404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}