{"id":1569,"date":"2024-01-17T10:37:59","date_gmt":"2024-01-17T09:37:59","guid":{"rendered":"https:\/\/codeflarelimited.com\/blog\/?p=1569"},"modified":"2024-01-23T12:26:22","modified_gmt":"2024-01-23T11:26:22","slug":"react-js-state-management","status":"publish","type":"post","link":"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/","title":{"rendered":"React JS State Management"},"content":{"rendered":"\n<p>State management in React refers to the <a href=\"https:\/\/feverfreeman.com\/dwas8qvgx?key=d77a263fad9a89adf1bd9ecf01cd2540\">management and manipulation of data<\/a> within a React application. It involves handling and controlling the state or data that affects a component&#8217;s rendering, behavior, and UI. Managing state effectively is crucial for building complex and dynamic user interfaces in React.<\/p>\n\n\n\n<p><a href=\"https:\/\/feverfreeman.com\/dwas8qvgx?key=d77a263fad9a89adf1bd9ecf01cd2540\">Download free React Guide<\/a><\/p>\n\n\n\n<script async=\"async\" data-cfasync=\"false\" src=\"\/\/feverfreeman.com\/3e8f7ed05b3a08f983ece5ad9f829813\/invoke.js\"><\/script>\n<div id=\"container-3e8f7ed05b3a08f983ece5ad9f829813\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">useState() Hook<\/h2>\n\n\n\n<p>React components can have their own local state managed using the useState hook for functional components. States usually have default values and they saved in containers called state variables.<\/p>\n\n\n\n<p>To demonstrate this we are going to create a function called&nbsp;<strong>counter()<\/strong>, which will be assinged a value that increases when we click on the button. We will do ths using both&nbsp;<strong>Class<\/strong>&nbsp;and&nbsp;<strong>Function<\/strong>&nbsp;components.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"jsx\" class=\"language-jsx\">import React, { useState } from 'react':\n\nconst App = () =&gt; {\nconst [count, setCount] = useState(0):\n\nreturn (\n&lt;div&gt;\n&lt;p&gt;Count: {count}&lt;p&gt;\n&lt;button onClick={()=&gt; setCount(count + 1) }&gt;Increment &lt;\/button&gt;\n&lt;\/div&gt;\n);\n\nexport default App:<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Explanation<\/h4>\n\n\n\n<p>To set state in a functional component, we have to first import&nbsp;<strong>useState<\/strong>&nbsp;from React as follows:<\/p>\n\n\n\n<p><strong>import React, { useState } from &#8216;react&#8217;;<\/strong><\/p>\n\n\n\n<p>If we attempt to use it without the import statement, we get the following error:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"657\" height=\"348\" src=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/react-error.png\" alt=\"react error message\" class=\"wp-image-1570\" srcset=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/react-error.png 657w, https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/react-error-300x159.png 300w\" sizes=\"auto, (max-width: 657px) 100vw, 657px\" \/><\/figure>\n\n\n\n<p>Next, we set the React hooks as follows:<strong>const [count, setCount] = useState(0);<\/strong><\/p>\n\n\n\n<p>We can refer to count as a state variable, which as you can see has an initial value of 0. Whenever we want to update the value we just use hook a value to it as follows:<strong>setCount(value)<\/strong><\/p>\n\n\n\n<p>This will immediately update the initial 0 value to the specified one. And we can also do this for booleans as well: <\/p>\n\n\n\n<p><strong>const [loading, setLoading] = useState(false);<\/strong><\/p>\n\n\n\n<p><strong>setLoading(false);<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/player.vimeo.com\/video\/898016483?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479\"><\/video><\/figure>\n\n\n\n<p>This is how to implement state management in React.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Earn React Quiz Certification Online. <a href=\"https:\/\/codefussion.tech\">Start Here<\/a><\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/codefussion.tech\"><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"526\" src=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/cert.webp\" alt=\"state management in react\" class=\"wp-image-1564\" srcset=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/cert.webp 728w, https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/cert-300x217.webp 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/a><figcaption class=\"wp-element-caption\">codefussion quiz certificate <\/figcaption><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>State management in React refers to the management and manipulation of data within a React application. It involves<\/p>\n","protected":false},"author":1,"featured_media":1571,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[98],"tags":[],"class_list":["post-1569","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-softare-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>React JS State Management<\/title>\n<meta name=\"description\" content=\"State management in React refers to the management and manipulation of data within a React application. Managing state effectively is crucial\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"React JS State Management\" \/>\n<meta property=\"og:description\" content=\"State management in React refers to the management and manipulation of data within a React application. Managing state effectively is crucial\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/facebook.com\/codeflretech\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-17T09:37:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-23T11:26:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/react-state.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2240\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"codeflare\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@codeflaretech\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-js-state-management\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-js-state-management\\\/\"},\"author\":{\"name\":\"codeflare\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/person\\\/7e65653d49add95629f8c1053c5cd76a\"},\"headline\":\"React JS State Management\",\"datePublished\":\"2024-01-17T09:37:59+00:00\",\"dateModified\":\"2024-01-23T11:26:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-js-state-management\\\/\"},\"wordCount\":264,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-js-state-management\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/react-state.png\",\"articleSection\":[\"softare development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-js-state-management\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-js-state-management\\\/\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-js-state-management\\\/\",\"name\":\"React JS State Management\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-js-state-management\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-js-state-management\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/react-state.png\",\"datePublished\":\"2024-01-17T09:37:59+00:00\",\"dateModified\":\"2024-01-23T11:26:22+00:00\",\"description\":\"State management in React refers to the management and manipulation of data within a React application. Managing state effectively is crucial\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-js-state-management\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-js-state-management\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-js-state-management\\\/#primaryimage\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/react-state.png\",\"contentUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/react-state.png\",\"width\":2240,\"height\":1260,\"caption\":\"react state management\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-js-state-management\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"softare development\",\"item\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/softare-development\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"React JS State Management\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/\",\"name\":\"\",\"description\":\"Sustainable solutions\",\"publisher\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#organization\",\"name\":\"Codeflare Limited\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/codeflare.png\",\"contentUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/codeflare.png\",\"width\":1040,\"height\":263,\"caption\":\"Codeflare Limited\"},\"image\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/person\\\/7e65653d49add95629f8c1053c5cd76a\",\"name\":\"codeflare\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g\",\"caption\":\"codeflare\"},\"description\":\"Latest tech news and coding tips.\",\"sameAs\":[\"https:\\\/\\\/codeflarelimited.com\\\/blog\",\"https:\\\/\\\/facebook.com\\\/codeflretech\",\"https:\\\/\\\/instagram.com\\\/codeflaretech\",\"https:\\\/\\\/x.com\\\/codeflaretech\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCuBLtiYqsajHdqw0uyt7Ofw?sub_confirmation=1\"],\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/author\\\/watcher\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"React JS State Management","description":"State management in React refers to the management and manipulation of data within a React application. Managing state effectively is crucial","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:\/\/codeflarelimited.com\/blog\/react-js-state-management\/","og_locale":"en_US","og_type":"article","og_title":"React JS State Management","og_description":"State management in React refers to the management and manipulation of data within a React application. Managing state effectively is crucial","og_url":"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/","article_author":"https:\/\/facebook.com\/codeflretech","article_published_time":"2024-01-17T09:37:59+00:00","article_modified_time":"2024-01-23T11:26:22+00:00","og_image":[{"width":2240,"height":1260,"url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/react-state.png","type":"image\/png"}],"author":"codeflare","twitter_card":"summary_large_image","twitter_creator":"@codeflaretech","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/#article","isPartOf":{"@id":"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/"},"author":{"name":"codeflare","@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/person\/7e65653d49add95629f8c1053c5cd76a"},"headline":"React JS State Management","datePublished":"2024-01-17T09:37:59+00:00","dateModified":"2024-01-23T11:26:22+00:00","mainEntityOfPage":{"@id":"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/"},"wordCount":264,"commentCount":0,"publisher":{"@id":"https:\/\/codeflarelimited.com\/blog\/#organization"},"image":{"@id":"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/#primaryimage"},"thumbnailUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/react-state.png","articleSection":["softare development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/","url":"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/","name":"React JS State Management","isPartOf":{"@id":"https:\/\/codeflarelimited.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/#primaryimage"},"image":{"@id":"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/#primaryimage"},"thumbnailUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/react-state.png","datePublished":"2024-01-17T09:37:59+00:00","dateModified":"2024-01-23T11:26:22+00:00","description":"State management in React refers to the management and manipulation of data within a React application. Managing state effectively is crucial","breadcrumb":{"@id":"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/#primaryimage","url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/react-state.png","contentUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/react-state.png","width":2240,"height":1260,"caption":"react state management"},{"@type":"BreadcrumbList","@id":"https:\/\/codeflarelimited.com\/blog\/react-js-state-management\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codeflarelimited.com\/blog\/"},{"@type":"ListItem","position":2,"name":"softare development","item":"https:\/\/codeflarelimited.com\/blog\/softare-development\/"},{"@type":"ListItem","position":3,"name":"React JS State Management"}]},{"@type":"WebSite","@id":"https:\/\/codeflarelimited.com\/blog\/#website","url":"https:\/\/codeflarelimited.com\/blog\/","name":"","description":"Sustainable solutions","publisher":{"@id":"https:\/\/codeflarelimited.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codeflarelimited.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codeflarelimited.com\/blog\/#organization","name":"Codeflare Limited","url":"https:\/\/codeflarelimited.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2020\/11\/codeflare.png","contentUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2020\/11\/codeflare.png","width":1040,"height":263,"caption":"Codeflare Limited"},"image":{"@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/person\/7e65653d49add95629f8c1053c5cd76a","name":"codeflare","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g","caption":"codeflare"},"description":"Latest tech news and coding tips.","sameAs":["https:\/\/codeflarelimited.com\/blog","https:\/\/facebook.com\/codeflretech","https:\/\/instagram.com\/codeflaretech","https:\/\/x.com\/codeflaretech","https:\/\/www.youtube.com\/channel\/UCuBLtiYqsajHdqw0uyt7Ofw?sub_confirmation=1"],"url":"https:\/\/codeflarelimited.com\/blog\/author\/watcher\/"}]}},"jetpack_featured_media_url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/react-state.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/1569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/comments?post=1569"}],"version-history":[{"count":6,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/1569\/revisions"}],"predecessor-version":[{"id":1602,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/1569\/revisions\/1602"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/media\/1571"}],"wp:attachment":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/media?parent=1569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/categories?post=1569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/tags?post=1569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}