{"id":243,"date":"2020-01-24T18:13:02","date_gmt":"2020-01-24T17:13:02","guid":{"rendered":"https:\/\/sketch2react.wordpress.com\/2020\/01\/24\/sketch-app-weird-layer-names-react-code\/"},"modified":"2021-05-17T11:07:37","modified_gmt":"2021-05-17T09:07:37","slug":"sketch-app-weird-layer-names-react-code","status":"publish","type":"post","link":"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/","title":{"rendered":"Sketch app + weird layer names = React code!?"},"content":{"rendered":"<p>If you\u2019ve come in contact with <em>Sketch2React<\/em> or <em>Stratos<\/em> chances are big that you\u2019ve also encountered the weird layer naming convention a.k.a. our <em>markup<\/em>. It might seem strange and hard to learn, but in this article I\u2019ll explain why we use the markup and flatten the learning curve a bit by showing you that it really comes down to only <strong><em>three<\/em><\/strong> things.<\/p>\n<h3>The need for&nbsp;markup<\/h3>\n<p>Sketch App is really good for creating visual stuff such as web design (I know you can do a lot more, but let\u2019s keep it simple in this article). There is however a limitation as to what Sketch App can provide when it comes to metadata. Metadata is \u201cdata about the data\u201d.<\/p>\n<h4>Let me give you one&nbsp;example:<\/h4>\n<p>You create a Text-layer in Sketch and style it according to i.e. your company\u2019s design guidelines. Sketch is aware of the Text-layer\u2019s visual representation (formatting, position, etc.).<\/p>\n<p>What it does not know however is: what kind of <em>html element type<\/em> should I be? Should I be a &lt;p&gt;, a &lt;span&gt;, an &lt;h1&gt; or something else?<\/p>\n<p>Of course, we could have made the Sketch2React render-engine go like: <em>hey, it\u2019s a Sketch Text-layer, let\u2019s create an html paragraph (&lt;p&gt;).<\/em><\/p>\n<p>The problem is then that you would always have ended up with an html paragraph (&lt;p&gt;) that looks like your i.e. Heading 1 in Sketch, but It wouldn\u2019t be a \u201creal\u201d Heading 1 from a code point of view.<\/p>\n<blockquote><p>If you style a Heading in Sketch, you should get a Heading html element that has the corresponding formatting as&nbsp;output.<\/p><\/blockquote>\n<p>This is the reason we need the markup: To fill the <em>information gaps<\/em> in the Sketch-file in order to generate proper, useful code.<\/p>\n<p>So, if you name your Heading 1 <em>Text-layer <\/em>in Sketch: <strong>{h1}<\/strong>, you\u2019ll get an &lt;h1&gt;<em> html element<\/em> that has the <em>styling like the Text-layer you have in Sketch<\/em>. (The markup differs slightly between <em>Sketch2React v.1.x<\/em> and <em>Stratos<\/em>)<\/p>\n<h3>The three-ish types of&nbsp;metadata<\/h3>\n<p>We have put a lot of effort into making the two markups (<em>Sketch2React v1.x.<\/em> and <em>Stratos<\/em>) a similar as possible, but in order to support more advanced features and functionalities in <em>Stratos<\/em> some things needed to be changed. You can find more detailed documentation about markups <a href=\"https:\/\/sketch2react.gitbook.io\/sketch2react-io\/develop\/components\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>. <em>Sketch2React v.1.x\u2019s <\/em>markup<em> <\/em>is made up of <strong>two parts<\/strong>, while <em>Stratos\u2019<\/em> markup<em> <\/em>is made up of <strong>three parts<\/strong>.<\/p>\n<h4>Sketch2React v.1.x<\/h4>\n<figure class=\"wp-caption\"><img decoding=\"async\" data-width=\"904\" data-height=\"146\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/01\/6b1e6-10np-hsvrub2jstfwkaswig.png\"><figcaption class=\"wp-caption-text\">{<em>Sketch2React component type<\/em>} [<em>CSS-classes<\/em>]<\/figcaption><\/figure>\n<p>In the above example we have a Sketch Text-layer that will:<\/p>\n<ul>\n<li>Generate an <strong>span html element<\/strong><\/li>\n<li>Have the <strong>CSS-classes <em>animate-up<\/em> and <em>myclass<\/em> added to the generated html element<\/strong><\/li>\n<\/ul>\n<h4>Stratos<\/h4>\n<p>The <em>Stratos markup<\/em> has one additional, third (optional), metadata part.<\/p>\n<figure class=\"wp-caption\"><img decoding=\"async\" data-width=\"1214\" data-height=\"220\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/01\/755bd-1o0ao8597d2ibix91mmuzmw.png\"><figcaption class=\"wp-caption-text\">{<em>Stratos component type<\/em>} <strong>\/* <em>Custom name<\/em> *\/<\/strong> [<em>CSS-classes<\/em>]<\/figcaption><\/figure>\n<p>In the above example we have a Sketch Text-layer that will:<\/p>\n<ul>\n<li>Generate an <strong>h1 html element<\/strong><\/li>\n<li>Generate a <strong>React Styled Component named \u201cHeading1\u201d<\/strong> (If you omit <em>Custom name<\/em> it will get the name \u201cH1\u201d)<\/li>\n<li>Have the <strong>CSS-classes <em>animate-up<\/em> and <em>myclass<\/em> added to the generated html element<\/strong><\/li>\n<\/ul>\n<p>Common for both markups is that the only thing that is <strong>mandatory<\/strong> is the Sketch2React <strong>Component type (defined within {})<\/strong><\/p>\n<h4>Another example<\/h4>\n<p>How should one create structures in a Sketch document that represents the structure of the code output? By nesting of course! But nesting what? Sketch groups!<\/p>\n<p>Let us represent a Bootstrap grid by using Sketch groups. You\u2019ll end up with something like this:<\/p>\n<figure class=\"wp-caption\"><img decoding=\"async\" data-width=\"1790\" data-height=\"334\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/01\/d4883-1gk98fuoe7r5-i2yxcxyzbg.png\"><figcaption class=\"wp-caption-text\">The exception to the three-part rule: grid column, {Col}. It contains additional information about grid column&nbsp;size<\/figcaption><\/figure>\n<p>In order to generate proper code, we are in need of additional information (metadata). The Sketch-document knows that i.e. {Container} in the example above is indeed a Sketch group, but it does not know that we want this particular group to represent a Bootstrap container element. By adding the name {Container} to the Sketch-group as metadata, the Sketch2React render engine knows that it should generate a Bootstrap container element.<\/p>\n<h3>Conclusion<\/h3>\n<p>The markup in combination with the information in the Sketch-file provides the Sketch2React render engine with a complete set of information which in turn enables the possibility to generate proper code output.<\/p>\n<p>Thanks for reading!<\/p>\n<p>\/\/ Fredrik\u200a\u2014\u200aTeam Sketch2React<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019ve come in contact with Sketch2React or Stratos chances are big that you\u2019ve also encountered the weird layer naming convention a.k.a. our markup. It might seem strange and hard to learn, but in this article I\u2019ll explain why we use the markup and flatten the learning curve a bit by showing you that it&hellip;&nbsp;<a href=\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Sketch app + weird layer names = React code!?<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"bgseo_title":"","bgseo_description":"","bgseo_robots_index":"","bgseo_robots_follow":"","neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[166],"tags":[118,153,63,55,116,191],"class_list":["post-243","post","type-post","status-publish","format-standard","hentry","category-tutorials","tag-design-to-code","tag-no-code","tag-reactjs","tag-sketch2react","tag-stratosapp","tag-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Sketch app + weird layer names = React code!? | Sketch2React Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sketch app + weird layer names = React code!? - Sketch2React Blog\" \/>\n<meta property=\"og:description\" content=\"If you\u2019ve come in contact with Sketch2React or Stratos chances are big that you\u2019ve also encountered the weird layer naming convention a.k.a. our markup. It might seem strange and hard to learn, but in this article I\u2019ll explain why we use the markup and flatten the learning curve a bit by showing you that it&hellip;&nbsp;Read More &raquo;Sketch app + weird layer names = React code!?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Sketch2React Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-24T17:13:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-17T09:07:37+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/sketch2react.files.wordpress.com\/2020\/01\/6b1e6-10np-hsvrub2jstfwkaswig.png\" \/>\n<meta name=\"author\" content=\"Fredrik Ward\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fredrik Ward\" \/>\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\":\"Article\",\"@id\":\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/\"},\"author\":{\"name\":\"Fredrik Ward\",\"@id\":\"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/d452067d5528ce6cda4be87f136cf664\"},\"headline\":\"Sketch app + weird layer names = React code!?\",\"datePublished\":\"2020-01-24T17:13:02+00:00\",\"dateModified\":\"2021-05-17T09:07:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/\"},\"wordCount\":730,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/sketch2react.files.wordpress.com\/2020\/01\/6b1e6-10np-hsvrub2jstfwkaswig.png\",\"keywords\":[\"Design To Code\",\"No Code\",\"Reactjs\",\"Sketch2react\",\"Stratosapp\",\"Tutorials\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/\",\"url\":\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/\",\"name\":\"Sketch app + weird layer names = React code!? - Sketch2React Blog\",\"isPartOf\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/sketch2react.files.wordpress.com\/2020\/01\/6b1e6-10np-hsvrub2jstfwkaswig.png\",\"datePublished\":\"2020-01-24T17:13:02+00:00\",\"dateModified\":\"2021-05-17T09:07:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#primaryimage\",\"url\":\"http:\/\/sketch2react.files.wordpress.com\/2020\/01\/6b1e6-10np-hsvrub2jstfwkaswig.png\",\"contentUrl\":\"http:\/\/sketch2react.files.wordpress.com\/2020\/01\/6b1e6-10np-hsvrub2jstfwkaswig.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/sketch2react.io\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sketch app + weird layer names = React code!?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sketch2react.io\/blog\/#website\",\"url\":\"https:\/\/sketch2react.io\/blog\/\",\"name\":\"Sketch2React Blog\",\"description\":\"Articles, tutorials, tips &amp; tricks\",\"publisher\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sketch2react.io\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/sketch2react.io\/blog\/#organization\",\"name\":\"Sketch2React Blog\",\"url\":\"https:\/\/sketch2react.io\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/sketch2react.io\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2021\/10\/cropped-S2R2021Icon.png\",\"contentUrl\":\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2021\/10\/cropped-S2R2021Icon.png\",\"width\":512,\"height\":512,\"caption\":\"Sketch2React Blog\"},\"image\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/d452067d5528ce6cda4be87f136cf664\",\"name\":\"Fredrik Ward\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/91605aba05531b0d98ed254dc314b74be1800d1086302db1454b4489c128e3e1?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/91605aba05531b0d98ed254dc314b74be1800d1086302db1454b4489c128e3e1?s=96&d=wavatar&r=g\",\"caption\":\"Fredrik Ward\"},\"url\":\"https:\/\/sketch2react.io\/blog\/author\/sewk9wxw3g\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Sketch app + weird layer names = React code!? | Sketch2React Blog","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:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/","og_locale":"en_US","og_type":"article","og_title":"Sketch app + weird layer names = React code!? - Sketch2React Blog","og_description":"If you\u2019ve come in contact with Sketch2React or Stratos chances are big that you\u2019ve also encountered the weird layer naming convention a.k.a. our markup. It might seem strange and hard to learn, but in this article I\u2019ll explain why we use the markup and flatten the learning curve a bit by showing you that it&hellip;&nbsp;Read More &raquo;Sketch app + weird layer names = React code!?","og_url":"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/","og_site_name":"Sketch2React Blog","article_published_time":"2020-01-24T17:13:02+00:00","article_modified_time":"2021-05-17T09:07:37+00:00","og_image":[{"url":"http:\/\/sketch2react.files.wordpress.com\/2020\/01\/6b1e6-10np-hsvrub2jstfwkaswig.png","type":"","width":"","height":""}],"author":"Fredrik Ward","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Fredrik Ward","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#article","isPartOf":{"@id":"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/"},"author":{"name":"Fredrik Ward","@id":"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/d452067d5528ce6cda4be87f136cf664"},"headline":"Sketch app + weird layer names = React code!?","datePublished":"2020-01-24T17:13:02+00:00","dateModified":"2021-05-17T09:07:37+00:00","mainEntityOfPage":{"@id":"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/"},"wordCount":730,"commentCount":0,"publisher":{"@id":"https:\/\/sketch2react.io\/blog\/#organization"},"image":{"@id":"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#primaryimage"},"thumbnailUrl":"http:\/\/sketch2react.files.wordpress.com\/2020\/01\/6b1e6-10np-hsvrub2jstfwkaswig.png","keywords":["Design To Code","No Code","Reactjs","Sketch2react","Stratosapp","Tutorials"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/","url":"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/","name":"Sketch app + weird layer names = React code!? - Sketch2React Blog","isPartOf":{"@id":"https:\/\/sketch2react.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#primaryimage"},"image":{"@id":"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#primaryimage"},"thumbnailUrl":"http:\/\/sketch2react.files.wordpress.com\/2020\/01\/6b1e6-10np-hsvrub2jstfwkaswig.png","datePublished":"2020-01-24T17:13:02+00:00","dateModified":"2021-05-17T09:07:37+00:00","breadcrumb":{"@id":"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#primaryimage","url":"http:\/\/sketch2react.files.wordpress.com\/2020\/01\/6b1e6-10np-hsvrub2jstfwkaswig.png","contentUrl":"http:\/\/sketch2react.files.wordpress.com\/2020\/01\/6b1e6-10np-hsvrub2jstfwkaswig.png"},{"@type":"BreadcrumbList","@id":"https:\/\/sketch2react.io\/blog\/sketch-app-weird-layer-names-react-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sketch2react.io\/blog\/"},{"@type":"ListItem","position":2,"name":"Sketch app + weird layer names = React code!?"}]},{"@type":"WebSite","@id":"https:\/\/sketch2react.io\/blog\/#website","url":"https:\/\/sketch2react.io\/blog\/","name":"Sketch2React Blog","description":"Articles, tutorials, tips &amp; tricks","publisher":{"@id":"https:\/\/sketch2react.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sketch2react.io\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/sketch2react.io\/blog\/#organization","name":"Sketch2React Blog","url":"https:\/\/sketch2react.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sketch2react.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2021\/10\/cropped-S2R2021Icon.png","contentUrl":"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2021\/10\/cropped-S2R2021Icon.png","width":512,"height":512,"caption":"Sketch2React Blog"},"image":{"@id":"https:\/\/sketch2react.io\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/d452067d5528ce6cda4be87f136cf664","name":"Fredrik Ward","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/91605aba05531b0d98ed254dc314b74be1800d1086302db1454b4489c128e3e1?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/91605aba05531b0d98ed254dc314b74be1800d1086302db1454b4489c128e3e1?s=96&d=wavatar&r=g","caption":"Fredrik Ward"},"url":"https:\/\/sketch2react.io\/blog\/author\/sewk9wxw3g\/"}]}},"_links":{"self":[{"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/posts\/243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/comments?post=243"}],"version-history":[{"count":1,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/posts\/243\/revisions"}],"predecessor-version":[{"id":311,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/posts\/243\/revisions\/311"}],"wp:attachment":[{"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/media?parent=243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/categories?post=243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/tags?post=243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}