{"id":1991,"date":"2023-09-02T02:23:11","date_gmt":"2023-09-02T02:23:11","guid":{"rendered":"https:\/\/easycodingschool.com\/?p=1991"},"modified":"2023-09-02T02:23:57","modified_gmt":"2023-09-02T02:23:57","slug":"components-props-state-and-jsx","status":"publish","type":"post","link":"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/","title":{"rendered":"Components, Props, State, and JSX"},"content":{"rendered":"<p>Certainly! In the context of React, which is a popular JavaScript library for building user interfaces, it&#8217;s essential to understand components, props, state, and JSX. Let&#8217;s break down these concepts:<\/p>\n<h2>Components:<\/h2>\n<p><strong>What are Components?<\/strong><br \/>\nComponents are the building blocks of a React application. They are reusable, self-contained pieces of code that encapsulate a specific part of a user interface. Components can be as simple as a button or as complex as an entire page.<\/p>\n<p><strong>Types of Components:<\/strong><br \/>\nReact has two primary types of <strong>components<\/strong>:<\/p>\n<ol>\n<li><strong>Functional Components<\/strong><\/li>\n<li><strong>Class Components<\/strong><\/li>\n<\/ol>\n<p><strong>Functional Components:<\/strong> These are JavaScript functions that return JSX (more on JSX below).<br \/>\n<strong>Class Components:<\/strong> These are JavaScript classes that extend React.Component and have a render method.<\/p>\n<h3>Props (Properties):<\/h3>\n<p><strong>What are Props?<\/strong><br \/>\nProps are a mechanism for passing data from parent components to child components. They are read-only and help you make your components dynamic and reusable.<\/p>\n<p><strong>Types of Props:<\/strong><br \/>\nReact has two primary types of <strong>Props<\/strong>:<\/p>\n<ol>\n<li><strong>Passing Props<\/strong><\/li>\n<li><strong>Accessing Props<\/strong><\/li>\n<\/ol>\n<p><strong>Passing Props:<\/strong><br \/>\nYou can pass props to a component by adding attributes to the component when you use it in JSX. For example: <mycomponent name=\"John\" age=\"{30}\"><\/mycomponent>.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>&lt;MyComponent name=\"John\" age={30} \/&gt;<\/code><\/pre>\n<\/div>\n<p><strong>Accessing Props:<\/strong><br \/>\nInside a component, you can access props through a function parameter (for functional components) or by referencing <strong>this.props<\/strong> (for class components).<\/p>\n<h3>State:<\/h3>\n<p><strong>What is State?<\/strong><br \/>\nState represents the data that should be saved and updated within a component. Unlike props, which are passed from parent to child, state is managed internally by the component itself.<\/p>\n<p><strong>Types of State:<\/strong><br \/>\nReact has two primary types of <strong>State<\/strong>:<\/p>\n<ol>\n<li><strong>Initializing State<\/strong><\/li>\n<li><strong>Updating State<\/strong><\/li>\n<\/ol>\n<p><strong>Initializing State:<\/strong><br \/>\nIn class components, you typically initialize state in the constructor using <strong>this.state<\/strong>. In functional components, you can use the <strong>useState<\/strong> hook to manage state.<\/p>\n<p><strong>Updating State:<\/strong><br \/>\nTo update state, use <strong>this.setState<\/strong> in class components or the updater function returned by <strong>useState<\/strong> in functional components. React will then re-render the component with the updated state.<\/p>\n<h3>JSX (JavaScript XML):<\/h3>\n<p><strong>What is JSX?<\/strong><br \/>\nJSX is a syntax extension for JavaScript that allows you to write HTML-like code within your JavaScript files. It&#8217;s used in React to define the structure of your components&#8217; output.<\/p>\n<p>Example of JSX:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-ts\" data-lang=\"TypeScript\"><code>const element = &lt;h1&gt;Hello, World!&lt;\/h1&gt;;\r\n<\/code><\/pre>\n<\/div>\n<h3>Embedding Expressions:<\/h3>\n<p>JSX allows you to embed JavaScript expressions using curly braces {}. For example:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const name = \"John\";\r\nconst element = &lt;h1&gt;Hello, {name}!&lt;\/h1&gt;;\r\n<\/code><\/pre>\n<\/div>\n<h3>Using JSX in Components:<\/h3>\n<p>Components&#8217; <strong>render<\/strong> methods (in class components) or the return statements (in functional components) often return JSX elements to define the UI structure.<\/p>\n<h3>Babel Compilation:<\/h3>\n<p>JSX code is transformed into JavaScript code using tools like Babel before it&#8217;s rendered in the browser. This transformation makes JSX understandable by web browsers.<\/p>\n<p>Understanding these fundamental concepts is crucial for working with React effectively. Components, props, state, and JSX are the building blocks that allow you to create dynamic and interactive user interfaces in React applications.<\/p>\n<p><span>You can also discover a lot about\u00a0<\/span><a href=\"https:\/\/easycodingschool.com\/blog\/category\/javascript\/\">Javascript by exploring<span>\u00a0<\/span><\/a><span>different topics.<\/span><\/p>\n<p><strong>Note:<\/strong><span>\u00a0We welcome your feedback at\u00a0<\/span><a href=\"https:\/\/easycodingschool.com\/blog\/\">Easy coding School<\/a><span>. Please don\u2019t hesitate to share your\u00a0<\/span><a href=\"https:\/\/easycodingschool.com\/blog\/contact\/\" target=\"_blank\" rel=\"noopener\">suggestions<\/a><span>\u00a0or any issues you might have with the article!<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Certainly! In the context of React, which is a popular JavaScript library for building user interfaces, it&#8217;s essential to understand components, props, state, and JSX. Let&#8217;s break down [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1992,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[87,61,25,133],"tags":[73,170,69,127,108,126,64,173,171,174,172],"class_list":["post-1991","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","category-javascript","category-programming","category-reactjs","tag-basicjavascipt","tag-components","tag-core-javascript","tag-easy-coding","tag-easy-coding-school","tag-easycoding","tag-easycodingschool","tag-jsx","tag-props","tag-reactjs","tag-state"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Components, Props, State, and JSX - Easy Coding School<\/title>\n<meta name=\"description\" content=\"Explore JavaScript: Learn about Components, Props, State, and JSX to simplify web development and create dynamic interfaces for modern apps.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Components, Props, State, and JSX - Easy Coding School\" \/>\n<meta property=\"og:description\" content=\"Explore JavaScript: Learn about Components, Props, State, and JSX to simplify web development and create dynamic interfaces for modern apps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/\" \/>\n<meta property=\"og:site_name\" content=\"Easy Coding School\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-02T02:23:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-02T02:23:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Components-Props-State-and-JSX.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"660\" \/>\n\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"gauravkumarjha19@gmail.com\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"gauravkumarjha19@gmail.com\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/\"},\"author\":{\"name\":\"gauravkumarjha19@gmail.com\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/#\/schema\/person\/9cabe8e90728da7f26676cbd1744558b\"},\"headline\":\"Components, Props, State, and JSX\",\"datePublished\":\"2023-09-02T02:23:11+00:00\",\"dateModified\":\"2023-09-02T02:23:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/\"},\"wordCount\":499,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Components-Props-State-and-JSX.jpg\",\"keywords\":[\"Basicjavascipt\",\"components\",\"Core Javascript\",\"Easy Coding\",\"Easy Coding School\",\"EasyCoding\",\"EasyCodingSchool\",\"JSX\",\"props\",\"ReactJs\",\"state\"],\"articleSection\":[\"Development\",\"JavaScript\",\"Programming\",\"ReactJS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/\",\"url\":\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/\",\"name\":\"Components, Props, State, and JSX - Easy Coding School\",\"isPartOf\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Components-Props-State-and-JSX.jpg\",\"datePublished\":\"2023-09-02T02:23:11+00:00\",\"dateModified\":\"2023-09-02T02:23:57+00:00\",\"description\":\"Explore JavaScript: Learn about Components, Props, State, and JSX to simplify web development and create dynamic interfaces for modern apps.\",\"breadcrumb\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#primaryimage\",\"url\":\"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Components-Props-State-and-JSX.jpg\",\"contentUrl\":\"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Components-Props-State-and-JSX.jpg\",\"width\":660,\"height\":350,\"caption\":\"Components, Props, State, and JSX\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/easycodingschool.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Components, Props, State, and JSX\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/#website\",\"url\":\"https:\/\/easycodingschool.com\/blog\/\",\"name\":\"Easy Coding School\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/easycodingschool.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/#organization\",\"name\":\"Easy Coding School\",\"url\":\"https:\/\/easycodingschool.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/07\/New-Project-10.png\",\"contentUrl\":\"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/07\/New-Project-10.png\",\"width\":310,\"height\":114,\"caption\":\"Easy Coding School \"},\"image\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/#\/schema\/person\/9cabe8e90728da7f26676cbd1744558b\",\"name\":\"gauravkumarjha19@gmail.com\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6846a3cc9bd6cb5b779aef260fe379c4b93fa20e1a4c753eb023ff7c08d7c668?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6846a3cc9bd6cb5b779aef260fe379c4b93fa20e1a4c753eb023ff7c08d7c668?s=96&d=mm&r=g\",\"caption\":\"gauravkumarjha19@gmail.com\"},\"sameAs\":[\"https:\/\/easycodingschool.com\/blog\"],\"url\":\"https:\/\/easycodingschool.com\/blog\/author\/gauravkumarjha19gmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Components, Props, State, and JSX - Easy Coding School","description":"Explore JavaScript: Learn about Components, Props, State, and JSX to simplify web development and create dynamic interfaces for modern apps.","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:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/","og_locale":"en_US","og_type":"article","og_title":"Components, Props, State, and JSX - Easy Coding School","og_description":"Explore JavaScript: Learn about Components, Props, State, and JSX to simplify web development and create dynamic interfaces for modern apps.","og_url":"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/","og_site_name":"Easy Coding School","article_published_time":"2023-09-02T02:23:11+00:00","article_modified_time":"2023-09-02T02:23:57+00:00","og_image":[{"width":660,"height":350,"url":"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Components-Props-State-and-JSX.jpg","type":"image\/jpeg"}],"author":"gauravkumarjha19@gmail.com","twitter_card":"summary_large_image","twitter_misc":{"Written by":"gauravkumarjha19@gmail.com","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#article","isPartOf":{"@id":"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/"},"author":{"name":"gauravkumarjha19@gmail.com","@id":"https:\/\/easycodingschool.com\/blog\/#\/schema\/person\/9cabe8e90728da7f26676cbd1744558b"},"headline":"Components, Props, State, and JSX","datePublished":"2023-09-02T02:23:11+00:00","dateModified":"2023-09-02T02:23:57+00:00","mainEntityOfPage":{"@id":"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/"},"wordCount":499,"commentCount":0,"publisher":{"@id":"https:\/\/easycodingschool.com\/blog\/#organization"},"image":{"@id":"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#primaryimage"},"thumbnailUrl":"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Components-Props-State-and-JSX.jpg","keywords":["Basicjavascipt","components","Core Javascript","Easy Coding","Easy Coding School","EasyCoding","EasyCodingSchool","JSX","props","ReactJs","state"],"articleSection":["Development","JavaScript","Programming","ReactJS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/","url":"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/","name":"Components, Props, State, and JSX - Easy Coding School","isPartOf":{"@id":"https:\/\/easycodingschool.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#primaryimage"},"image":{"@id":"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#primaryimage"},"thumbnailUrl":"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Components-Props-State-and-JSX.jpg","datePublished":"2023-09-02T02:23:11+00:00","dateModified":"2023-09-02T02:23:57+00:00","description":"Explore JavaScript: Learn about Components, Props, State, and JSX to simplify web development and create dynamic interfaces for modern apps.","breadcrumb":{"@id":"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#primaryimage","url":"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Components-Props-State-and-JSX.jpg","contentUrl":"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Components-Props-State-and-JSX.jpg","width":660,"height":350,"caption":"Components, Props, State, and JSX"},{"@type":"BreadcrumbList","@id":"https:\/\/easycodingschool.com\/blog\/components-props-state-and-jsx\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/easycodingschool.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Components, Props, State, and JSX"}]},{"@type":"WebSite","@id":"https:\/\/easycodingschool.com\/blog\/#website","url":"https:\/\/easycodingschool.com\/blog\/","name":"Easy Coding School","description":"","publisher":{"@id":"https:\/\/easycodingschool.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/easycodingschool.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/easycodingschool.com\/blog\/#organization","name":"Easy Coding School","url":"https:\/\/easycodingschool.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/easycodingschool.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/07\/New-Project-10.png","contentUrl":"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/07\/New-Project-10.png","width":310,"height":114,"caption":"Easy Coding School "},"image":{"@id":"https:\/\/easycodingschool.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/easycodingschool.com\/blog\/#\/schema\/person\/9cabe8e90728da7f26676cbd1744558b","name":"gauravkumarjha19@gmail.com","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/easycodingschool.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6846a3cc9bd6cb5b779aef260fe379c4b93fa20e1a4c753eb023ff7c08d7c668?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6846a3cc9bd6cb5b779aef260fe379c4b93fa20e1a4c753eb023ff7c08d7c668?s=96&d=mm&r=g","caption":"gauravkumarjha19@gmail.com"},"sameAs":["https:\/\/easycodingschool.com\/blog"],"url":"https:\/\/easycodingschool.com\/blog\/author\/gauravkumarjha19gmail-com\/"}]}},"_links":{"self":[{"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/posts\/1991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/comments?post=1991"}],"version-history":[{"count":2,"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/posts\/1991\/revisions"}],"predecessor-version":[{"id":1994,"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/posts\/1991\/revisions\/1994"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/media\/1992"}],"wp:attachment":[{"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/media?parent=1991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/categories?post=1991"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/tags?post=1991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}