{"id":34,"date":"2019-10-18T16:10:45","date_gmt":"2019-10-18T14:10:45","guid":{"rendered":"https:\/\/sketch2react.wordpress.com\/2019\/10\/18\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/"},"modified":"2020-08-31T09:13:23","modified_gmt":"2020-08-31T07:13:23","slug":"sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button","status":"publish","type":"post","link":"https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/","title":{"rendered":"Sketch2React Code Review\u200a\u2014\u200aSimple Button"},"content":{"rendered":"<figure>\n<p class=\"\"><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*WPGG1xZUYxpRO70IGg2SIA.jpeg\" data-width=\"1920\" data-height=\"1080\"><\/p>\n<\/figure>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<p>We have since the very start of our framework had a very <strong>designer focused explanation<\/strong> about the what, the how and so on.<\/p>\n<p>The more advanced our framework and code app gets we have, after feedback from you guys, realized we need to shift focus a bit.<\/p>\n<p>Or at least talk more about the actual <strong>code output<\/strong>. So here we go ??<\/p>\n<h3>Is it crappy&nbsp;code?<\/h3>\n<p>First of all let\u2019s talk about the <strong>elephant in the room<\/strong>. The one question every good designers and developer thinks when hearing the words \u201cgenerated code\u201d:<\/p>\n<ul>\n<li>Is it crap ??<\/li>\n<li>Is it spaghetti ? code?<\/li>\n<\/ul>\n<h3>Short answer<\/h3>\n<p>Nope ??<\/p>\n<p>We are extremely proud of our output, we think it\u2019s great given the fact that:<\/p>\n<ul class=\"\">\n<li>You code with easy to learn snippets directly inside of Sketch<\/li>\n<li>You have <strong>100% control of our generated code after export<\/strong>, there is no hocus-pocus hidden things, everything is based on proven web tech (HTML, CSS, Javascript, Bootstrap, Create React App)<\/li>\n<li>Actual <strong>real people<\/strong> (<em>no fake marketing scheme here<\/em>) have said things like \u201d<em>It produces clean, almost hand-tooled HTML code with external CSSs and JSs<\/em>\u201d<\/li>\n<\/ul>\n<p class=\"\">Also ? What is the purpose of spending endless amounts of hours developing something that outputs crap? None my friends. But don\u2019t take our word for it, it is only you that can judge with your own set of perspectives on what is great or trash. On to the next level then. ? ?<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row bg-editor-hr-wrap\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<div class=\"row bg-editor-hr-wrap\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<hr>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<h3 class=\"\">The next level of&nbsp;scrutiny<\/h3>\n<p class=\"\">Here we prefer to actually show you what it exactly looks like. So here\u2019s an example done ? % inside of Sketch and exported to code via our code app. No overhead done after export, no special add-ons.<\/p>\n<p class=\"\">This walkthrough is based on the latest version of Sketch2React<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row bg-editor-hr-wrap\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<div class=\"row bg-editor-hr-wrap\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<hr>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<figure class=\"wp-caption\">\n<p class=\"\"><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*KMXJqEW_plPTUdhRJSXQzA.png\" data-width=\"1303\" data-height=\"469\"><\/p><figcaption class=\"wp-caption-text\">Let\u2019s look at this beaut shall&nbsp;we?<\/figcaption><\/figure>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<h3>Simple Button<\/h3>\n<p>Let\u2019s start really simple with one of my personal favourite components\u200a\u2014\u200athe button! Oh how versatile you are my old friend ? ?<\/p>\n<h4>Lets look inside of&nbsp;Sketch?<\/h4>\n<p>First let\u2019s look in Sketch app how this component is structured. Remember, all of this is done <strong>100% inside of Sketch without plugins<\/strong>, just using the built-in tools like text tool, rectangle tool etc.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<figure class=\"wp-caption\">\n<p class=\"\"><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*jG5Yjct7EfAqEKdPEkneWw.png\" data-width=\"1920\" data-height=\"1167\"><\/p><figcaption class=\"wp-caption-text\">All of our components that have interactivity needs to be turned into Symbols&nbsp;first<\/figcaption><\/figure>\n<figure class=\"wp-caption\"><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*Nv4kwCku3IAlljVVYrhLpA.png\" data-width=\"1920\" data-height=\"1167\"><figcaption class=\"wp-caption-text\">\u2026and this is how the symbol is structured<\/figcaption><\/figure>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<h3>Let\u2019s export this to&nbsp;code!<\/h3>\n<p>Our <strong>HTML export<\/strong> (Download?HTML) bundles everything you have added inside of Sketch, according to our framework rules, plus all external files. An example is, if you have created your very own CSS plugin it also bundles it, into a nice little neat&nbsp;.zip file. ?<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<figure class=\"wp-caption\"><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*cdU6iaKnLDaz8TQkLCG2NA.png\" data-width=\"1544\" data-height=\"996\"><figcaption class=\"wp-caption-text\">This is what gets exported in our HTML export\u200a\u2014\u200ajust drag and drop onto server and your good to go&nbsp;<\/p>\n<p class=\"mod-reset\">?<\/p>\n<\/figcaption><\/figure>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<h3>Simple Button\u200a\u2014\u200aHTML&nbsp;Export<\/h3>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" title=\"Simple Button\" src=\"https:\/\/codepen.io\/sketch2react\/embed\/preview\/JjjREZO?height=300&#038;slug-hash=JjjREZO&#038;default-tabs=css,result&#038;host=https:\/\/codepen.io#?secret=LjDTb3g7be\" data-secret=\"LjDTb3g7be\" scrolling=\"no\" frameborder=\"0\" height=\"300\"><\/iframe><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row bg-editor-hr-wrap\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<div class=\"row bg-editor-hr-wrap\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<hr>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<h3>Simple Button\u200a\u2014\u200aReact&nbsp;Export<\/h3>\n<p>Our <strong>React export<\/strong> (Download ?React) uses the awesome <a href=\"https:\/\/levelup.gitconnected.com\/what-does-create-react-app-actually-do-73c899443d61\" target=\"_blank\" rel=\"noopener noreferrer\">Create React App<\/a> so that you with zero knowledge about React, can build React powered websites directly from inside Sketch app ? How awesome is that?<\/p>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" title=\"pedantic-lamarr-ekfs9\" width=\"1200\" height=\"1000\" src=\"https:\/\/codesandbox.io\/embed\/pedantic-lamarr-ekfs9?fontsize=14#?secret=9DShcUmi9Q\" data-secret=\"9DShcUmi9Q\"><\/iframe><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row bg-editor-hr-wrap\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<div class=\"row bg-editor-hr-wrap\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<hr>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<p>That\u2019s it! This was part 1 of deconstructing our code components, in the next part we\u2019ll take a look at this beautiful card component ? ?<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<figure><img decoding=\"async\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*JctRxQQuzXC8t64ael6Z1Q.gif\" data-width=\"953\" data-height=\"818\"><\/figure>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row bg-editor-hr-wrap\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<div class=\"row bg-editor-hr-wrap\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<hr>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<h3>Tutorial\u200a\u2014\u200aHow to add exported code to&nbsp;CodePen<\/h3>\n<p>Curious on how to do this yourself? You\u2019re in luck pal, here\u2019s a brand new video tutorial where we show you how-to.<\/p>\n<div class=\"nv-iframe-embed\"><iframe loading=\"lazy\" title=\"Sketch2React \u2013 How to add exported code to CodePen\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/yxRXs2Vo_cE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row bg-editor-hr-wrap\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<div class=\"row bg-editor-hr-wrap\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<hr>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<p><em>All the best<br \/>\nJuan, Team Sketch2React<\/em><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>We have since the very start of our framework had a very designer focused explanation about the what, the how and so on. The more advanced our framework and code app gets we have, after feedback from you guys, realized we need to shift focus a bit. Or at least talk more about the actual&hellip;&nbsp;<a href=\"https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Sketch2React Code Review\u200a\u2014\u200aSimple Button<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"bgseo_title":"","bgseo_description":"","bgseo_robots_index":"index","bgseo_robots_follow":"follow","neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"off","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":[46,6,61,55],"class_list":["post-34","post","type-post","status-publish","format-standard","hentry","category-tutorials","tag-codepen","tag-html","tag-javascript","tag-sketch2react"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Sketch2React Code Review\u200a\u2014\u200aSimple Button | 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\/sketch2react-code-review\u200a-\u200asimple-button\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sketch2React Code Review\u200a\u2014\u200aSimple Button - Sketch2React Blog\" \/>\n<meta property=\"og:description\" content=\"We have since the very start of our framework had a very designer focused explanation about the what, the how and so on. The more advanced our framework and code app gets we have, after feedback from you guys, realized we need to shift focus a bit. Or at least talk more about the actual&hellip;&nbsp;Read More &raquo;Sketch2React Code Review\u200a\u2014\u200aSimple Button\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sketch2react.io\/blog\/sketch2react-code-review\u200a-\u200asimple-button\/\" \/>\n<meta property=\"og:site_name\" content=\"Sketch2React Blog\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-18T14:10:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-31T07:13:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*WPGG1xZUYxpRO70IGg2SIA.jpeg\" \/>\n<meta name=\"author\" content=\"Juan Maguid\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Juan Maguid\" \/>\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:\\\/\\\/sketch2react.io\\\/blog\\\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\\\/\"},\"author\":{\"name\":\"Juan Maguid\",\"@id\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/#\\\/schema\\\/person\\\/7fc8fe20e137be20a66bc8634c059f4e\"},\"headline\":\"Sketch2React Code Review\u200a\u2014\u200aSimple Button\",\"datePublished\":\"2019-10-18T14:10:45+00:00\",\"dateModified\":\"2020-08-31T07:13:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\\\/\"},\"wordCount\":598,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn-images-1.medium.com\\\/max\\\/1200\\\/1*WPGG1xZUYxpRO70IGg2SIA.jpeg\",\"keywords\":[\"Codepen\",\"HTML\",\"JavaScript\",\"Sketch2react\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/sketch2react.io\\\/blog\\\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\\\/\",\"url\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\\\/\",\"name\":\"Sketch2React Code Review\u200a\u2014\u200aSimple Button - Sketch2React Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn-images-1.medium.com\\\/max\\\/1200\\\/1*WPGG1xZUYxpRO70IGg2SIA.jpeg\",\"datePublished\":\"2019-10-18T14:10:45+00:00\",\"dateModified\":\"2020-08-31T07:13:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sketch2react.io\\\/blog\\\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn-images-1.medium.com\\\/max\\\/1200\\\/1*WPGG1xZUYxpRO70IGg2SIA.jpeg\",\"contentUrl\":\"https:\\\/\\\/cdn-images-1.medium.com\\\/max\\\/1200\\\/1*WPGG1xZUYxpRO70IGg2SIA.jpeg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sketch2React Code Review\u200a\u2014\u200aSimple Button\"}]},{\"@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\\\/7fc8fe20e137be20a66bc8634c059f4e\",\"name\":\"Juan Maguid\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/eac199ca87b7cbb76863825e2f447fafd34ac3b7c4a03c94f499103333c24832?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/eac199ca87b7cbb76863825e2f447fafd34ac3b7c4a03c94f499103333c24832?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/eac199ca87b7cbb76863825e2f447fafd34ac3b7c4a03c94f499103333c24832?s=96&d=wavatar&r=g\",\"caption\":\"Juan Maguid\"},\"url\":\"https:\\\/\\\/sketch2react.io\\\/blog\\\/author\\\/sketch2react\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Sketch2React Code Review\u200a\u2014\u200aSimple Button | 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\/sketch2react-code-review\u200a-\u200asimple-button\/","og_locale":"en_US","og_type":"article","og_title":"Sketch2React Code Review\u200a\u2014\u200aSimple Button - Sketch2React Blog","og_description":"We have since the very start of our framework had a very designer focused explanation about the what, the how and so on. The more advanced our framework and code app gets we have, after feedback from you guys, realized we need to shift focus a bit. Or at least talk more about the actual&hellip;&nbsp;Read More &raquo;Sketch2React Code Review\u200a\u2014\u200aSimple Button","og_url":"https:\/\/sketch2react.io\/blog\/sketch2react-code-review\u200a-\u200asimple-button\/","og_site_name":"Sketch2React Blog","article_published_time":"2019-10-18T14:10:45+00:00","article_modified_time":"2020-08-31T07:13:23+00:00","og_image":[{"url":"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*WPGG1xZUYxpRO70IGg2SIA.jpeg","type":"","width":"","height":""}],"author":"Juan Maguid","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Juan Maguid","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/#article","isPartOf":{"@id":"https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/"},"author":{"name":"Juan Maguid","@id":"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/7fc8fe20e137be20a66bc8634c059f4e"},"headline":"Sketch2React Code Review\u200a\u2014\u200aSimple Button","datePublished":"2019-10-18T14:10:45+00:00","dateModified":"2020-08-31T07:13:23+00:00","mainEntityOfPage":{"@id":"https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/"},"wordCount":598,"commentCount":0,"publisher":{"@id":"https:\/\/sketch2react.io\/blog\/#organization"},"image":{"@id":"https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*WPGG1xZUYxpRO70IGg2SIA.jpeg","keywords":["Codepen","HTML","JavaScript","Sketch2react"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/","url":"https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/","name":"Sketch2React Code Review\u200a\u2014\u200aSimple Button - Sketch2React Blog","isPartOf":{"@id":"https:\/\/sketch2react.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/#primaryimage"},"image":{"@id":"https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*WPGG1xZUYxpRO70IGg2SIA.jpeg","datePublished":"2019-10-18T14:10:45+00:00","dateModified":"2020-08-31T07:13:23+00:00","breadcrumb":{"@id":"https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/#primaryimage","url":"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*WPGG1xZUYxpRO70IGg2SIA.jpeg","contentUrl":"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*WPGG1xZUYxpRO70IGg2SIA.jpeg"},{"@type":"BreadcrumbList","@id":"https:\/\/sketch2react.io\/blog\/sketch2react-code-review%e2%80%8a-%e2%80%8asimple-button\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sketch2react.io\/blog\/"},{"@type":"ListItem","position":2,"name":"Sketch2React Code Review\u200a\u2014\u200aSimple Button"}]},{"@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\/7fc8fe20e137be20a66bc8634c059f4e","name":"Juan Maguid","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/eac199ca87b7cbb76863825e2f447fafd34ac3b7c4a03c94f499103333c24832?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/eac199ca87b7cbb76863825e2f447fafd34ac3b7c4a03c94f499103333c24832?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eac199ca87b7cbb76863825e2f447fafd34ac3b7c4a03c94f499103333c24832?s=96&d=wavatar&r=g","caption":"Juan Maguid"},"url":"https:\/\/sketch2react.io\/blog\/author\/sketch2react\/"}]}},"_links":{"self":[{"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/posts\/34","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":2,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/posts\/34\/revisions"}],"predecessor-version":[{"id":516,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/posts\/34\/revisions\/516"}],"wp:attachment":[{"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/media?parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/categories?post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/tags?post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}