{"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":"2019-09-25T12:56:38","modified_gmt":"2019-09-25T07:26:38","slug":"all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs","status":"publish","type":"post","link":"https:\/\/websitelaravel.concettoprojects.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 reactjs applications are composed 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 react is to understand the difference between stateful and stateless components and which ones are responsible for managing 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 a component.<\/p>\n<p>The state allows creating 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>React application divided into smaller atoms and each atom represents a component. The basic building of a React\u00a0enterprise 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 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 that those who don\u2019t have a state that means you can not use 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 that what about <span style=\"text-decoration: underline;\"><a href=\"https:\/\/programmingwithmosh.com\/javascript\/stateful-stateless-components-react\/\" target=\"_blank\" rel=\"nofollow\">Stateful Vs. Stateless components in React Js<\/a><\/span>.<\/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:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_4_6022888772-1.png\" alt=\"Stateful Vs. Stateless Components\" width=\"749\" height=\"409\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_4_6022888772-1.png 749w, https:\/\/websitelaravel.concettoprojects.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 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<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>Visualize your website first, if it were one component than 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 to its children stateless components.<\/p>\n<p>Is it feel like 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 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:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2019\/09\/ReactJs-1.jpeg\" alt=\"ReactJs\" width=\"902\" height=\"506\" srcset=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2019\/09\/ReactJs-1.jpeg 739w, https:\/\/websitelaravel.concettoprojects.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 are stateless components as they are more elegant and usually is the right choice.<\/p>\n<p>Generally, you will not find it challenging to write and understand them and 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 not easy to test and also can be the wrong choice for the 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 <span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.concettolabs.com\/reactjs-development-company\" target=\"_blank\" rel=\"nofollow\"><strong>ReactJs development company<\/strong><\/a><\/span> 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. A process of breaking down a web app into a number of independent components consumes fewer efforts and result in a highly scalable ReactJS web development.<\/p>\n<p>You can also <span style=\"text-decoration: underline;\"><a href=\"https:\/\/www.concettolabs.com\/hire-reactjs-developer\" target=\"_blank\" rel=\"nofollow\"><strong>hire ReactJS developer<\/strong><\/a><\/span> from us and that helps to complete your dreams of a great application.<\/p>\n<style>\n.blog-block-1{background:url(https:\/\/www.concettolabs.com\/blog\/wp-content\/uploads\/2020\/08\/app-development.png);background-position: center;background-repeat: no-repeat;background-size: cover;width:100%;margin: 0 auto;padding: 20px 60px 80px;text-align: center; }.blog-block-1 h3{font-size: 40px;color: #fff;line-height: 60px;text-align:center;}.blog-block-1 p{color: #fff;font-size: 20px;}a.blog-btn-1{padding:10px 30px;background: #fbbf13;color: #fff!important;font-size: 18px;border: 0;cursor: poi<span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span>nter; text-align:center}.blog-block-1 p{text-align:center;color:#fff!important;}<\/style>\n<p>&nbsp;<\/p>\n<div class=\"blog-block-1\">\n<h3><span class=\"ez-toc-section\" id=\"All_You_Need_to_Know_Before_Learning_Container_Presentational_Components_in_ReactJS\"><\/span>All You Need to Know Before Learning Container &#038; Presentational Components in ReactJS<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a class=\"blog-btn-1\" href=\"https:\/\/www.concettolabs.com\/inquiry\" target=\"_blank\" rel=\"nofollow\">Contact Us<\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_71 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\" style=\"cursor:inherit\">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:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#State\" title=\"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:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#Component\" title=\"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:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#Stateful_and_Stateless_Components\" title=\"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:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#Stateful_Vs_Stateless_Components_in_React_Js\" title=\"Stateful Vs. Stateless Components in React Js:\">Stateful Vs. Stateless Components in React Js:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/websitelaravel.concettoprojects.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\" title=\"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-6\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#Some_Useful_Guidelines\" title=\"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-7\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#Wrap_UP\" title=\"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-8\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#ReactJs_Development_Company_India\" title=\"ReactJs Development Company India:\">ReactJs Development Company India:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#All_You_Need_to_Know_Before_Learning_Container_Presentational_Components_in_ReactJS\" title=\"All You Need to Know Before Learning Container &#038; Presentational Components in ReactJS\">All You Need to Know Before Learning Container &#038; Presentational Components in ReactJS<\/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":[1488,1489,1490,1491,1492],"class_list":["post-2404","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-development","tag-hire-reactjs-developer","tag-presentational-components-in-reactjs","tag-reactjs-application","tag-reactjs-development-company-india","tag-stateful-vs-stateless-components"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\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=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\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:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/\" \/>\n<meta property=\"og:site_name\" content=\"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=\"og:image\" content=\"https:\/\/websitelaravel.concettoprojects.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: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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/\",\"url\":\"https:\/\/websitelaravel.concettoprojects.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:\/\/websitelaravel.concettoprojects.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_2_2820623461-1.jpg\",\"datePublished\":\"2019-09-25T07:26:38+00:00\",\"dateModified\":\"2019-09-25T07:26:38+00:00\",\"author\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/b27e0500ea2f536f7f0f5e7ab13566b9\"},\"description\":\"Being ReactJs development company we make the best use of its exceptional feature \u2018reusability\u2019. With our team of experts.\",\"breadcrumb\":{\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#primaryimage\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_2_2820623461-1.jpg\",\"contentUrl\":\"https:\/\/websitelaravel.concettoprojects.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:\/\/websitelaravel.concettoprojects.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:\/\/websitelaravel.concettoprojects.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"All You Need to Know Before Learning Container &#038; Presentational Components in ReactJS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#website\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/\",\"name\":\"concettolabs\",\"description\":\"Just another WordPress site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/b27e0500ea2f536f7f0f5e7ab13566b9\",\"name\":\"Manish Patel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/manish2-96x96.png\",\"contentUrl\":\"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/manish2-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:\/\/websitelaravel.concettoprojects.com\/blog\",\"https:\/\/www.facebook.com\/manish.patel.710\",\"https:\/\/in.linkedin.com\/in\/manishpatel2509\",\"https:\/\/x.com\/https:\/\/twitter.com\/withmanish\"],\"url\":\"https:\/\/websitelaravel.concettoprojects.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":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"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:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/","og_site_name":"concettolabs","article_author":"https:\/\/www.facebook.com\/manish.patel.710","article_published_time":"2019-09-25T07:26:38+00:00","og_image":[{"width":783,"height":391,"url":"https:\/\/websitelaravel.concettoprojects.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_misc":{"Written by":"Manish Patel","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/","url":"https:\/\/websitelaravel.concettoprojects.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:\/\/websitelaravel.concettoprojects.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#primaryimage"},"image":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#primaryimage"},"thumbnailUrl":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_2_2820623461-1.jpg","datePublished":"2019-09-25T07:26:38+00:00","dateModified":"2019-09-25T07:26:38+00:00","author":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/b27e0500ea2f536f7f0f5e7ab13566b9"},"description":"Being ReactJs development company we make the best use of its exceptional feature \u2018reusability\u2019. With our team of experts.","breadcrumb":{"@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/all-you-need-to-know-before-learning-container-and-presentational-components-in-reactjs\/#primaryimage","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2019\/09\/imageedit_2_2820623461-1.jpg","contentUrl":"https:\/\/websitelaravel.concettoprojects.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:\/\/websitelaravel.concettoprojects.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:\/\/websitelaravel.concettoprojects.com\/blog\/"},{"@type":"ListItem","position":2,"name":"All You Need to Know Before Learning Container &#038; Presentational Components in ReactJS"}]},{"@type":"WebSite","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#website","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/","name":"concettolabs","description":"Just another WordPress site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/websitelaravel.concettoprojects.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/b27e0500ea2f536f7f0f5e7ab13566b9","name":"Manish Patel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/websitelaravel.concettoprojects.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/manish2-96x96.png","contentUrl":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-content\/uploads\/2022\/03\/manish2-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:\/\/websitelaravel.concettoprojects.com\/blog","https:\/\/www.facebook.com\/manish.patel.710","https:\/\/in.linkedin.com\/in\/manishpatel2509","https:\/\/x.com\/https:\/\/twitter.com\/withmanish"],"url":"https:\/\/websitelaravel.concettoprojects.com\/blog\/author\/manish-patel\/"}]}},"_links":{"self":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/posts\/2404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/comments?post=2404"}],"version-history":[{"count":0,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/posts\/2404\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/media\/2405"}],"wp:attachment":[{"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/media?parent=2404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/categories?post=2404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/websitelaravel.concettoprojects.com\/blog\/wp-json\/wp\/v2\/tags?post=2404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}