{"id":898,"date":"2020-12-21T16:20:20","date_gmt":"2020-12-21T15:20:20","guid":{"rendered":"https:\/\/sketch2react.io\/blog\/?p=898"},"modified":"2021-02-05T12:05:35","modified_gmt":"2021-02-05T11:05:35","slug":"why-designing-with-code-constraints-is-a-great-idea","status":"publish","type":"post","link":"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/","title":{"rendered":"Why designing with code constraints is a great idea"},"content":{"rendered":"\r\n<div class=\"boldgrid-section\">\r\n<div class=\"container\">\r\n<div class=\"row\">\r\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\r\n<p class=\"\">If you found your way here, you probably agree with me on this topic. <em>Or not<\/em>. That\u2019s totally fine, we can agree to disagree.<\/p>\r\n<p class=\"\">I often write this kind of article after receiving feedback or questions about what you can do with our framework and code app. So let\u2019s begin!<\/p>\r\n<h2 class=\"\">What is Sketch2React?<\/h2>\r\n<p class=\"\"><a href=\"https:\/\/sketch2react.io\" target=\"_blank\" rel=\"noopener\">Sketch2React<\/a> is a markup-based design to code framework that lets you design and build real code prototypes and simple websites, straight from inside Sketch app. The exported autogenerated code are web projects for <strong>HTML<\/strong> and <strong>React<\/strong>. So if you\u2019re a designer that mostly design for the web you\u2019re in luck.<\/p>\r\n<p class=\"\">Even if you design apps for iOS and Android you can still use Sketch2React to build React prototypes and simple React websites. Hybrid app&#8217;s anyone?<\/p>\r\n<p class=\"\"><a href=\"https:\/\/marketplace.sketch2react.io\/product\/sketch2react\/\" target=\"_blank\" rel=\"noopener\">Sketch2React app<\/a> is purchased via our brand-new marketplace. It\u2019s affordable, you get a lifetime license, you can install it on several computers, and we are not a subscription service like everyone else seem to be these days.<\/p>\r\n<h2 class=\"\">What Sketch2React is not<\/h2>\r\n<p class=\"\"><strong>Sketch2React will not replace your developer. <\/strong><em>Never ever<\/em>. Let that sink in for a while. Sorry to break it to you, but the sooner you realize this the less frustrated you will get.<\/p>\r\n<p class=\"\">That doesn&#8217;t mean it&#8217;s not useful to your development team. You as a designer will use a tool that is <strong>100% based on real code frameworks<\/strong>. That means that even if you just create a prototype for React you are still using React in the background. When you export you get real React code bundled into one of the most popular packages, <a href=\"https:\/\/reactjs.org\/docs\/create-a-new-react-app.html#create-react-app\" target=\"_blank\" rel=\"noopener\"><em>Create React App<\/em><\/a>.&nbsp;<\/p>\r\n<p class=\"\"><strong>I see our framework as a nice Lego set<\/strong>, with instructions for things you can build out of the box and a <a href=\"https:\/\/marketplace.sketch2react.io\/product-category\/sketch2react\/\" target=\"_blank\" rel=\"noopener\">great collection<\/a> of already made constructions to inspire you.<\/p>\r\n<p class=\"\">The rest is up to you. To use your gut, grits and curiosity to take this set of digital Lego pieces to the next level. The playground will get bigger and bigger the more you learn about all the possibilities.<\/p>\r\n<h2 class=\"\">How do I learn Sketch2React?<\/h2>\r\n<p class=\"\">First let&#8217;s be 100% clear about one essential thing \u2014 you actually <strong>don\u2019t need any code knowledge<\/strong> to start using our framework and code app. What you do need is patience and a will to experiment, fail and eventually get what you want.<\/p>\r\n<p class=\"\">Our markup is based on something called Atomic CSS. Simply put, in <strong>Sketch you use our rules on Sketch layers<\/strong>. <a href=\"https:\/\/sketch2react.gitbook.io\/sketch2react-io\/\" target=\"_blank\" rel=\"noopener\">Follow our rules<\/a> and you will be greatly rewarded. They transform things into code. For you. Very little effort right?<\/p>\r\n<p class=\"\">Not only that, you will instantly see inside our code app if you do it right. Our code app contains our rendering engine and a Chrome browser.<\/p>\r\n<p class=\"\">We also have a great free <a href=\"https:\/\/www.sketch.com\/extensions\/assistants\/@sketch2react\/sketch2react-assistant\/\" target=\"_blank\" rel=\"noopener\">Sketch assistant<\/a> for the very first basic things you need to learn. Sometimes you actually want to go against our friendly, yet a bit stupid, assistant. Sketch assistants are great but it&#8217;s not an AI.&nbsp;<\/p>\r\n<p class=\"\">The rules are the right ones but they don&#8217;t always need to be applied. You will just need to learn more, study more, experiment more. We&#8217;re there&#8217;s pain there&#8217;s also gain.<\/p>\r\n<p class=\"\">You actually do about everything directly inside Sketch. When you feel more comfortable you will probably start making your mini CSS plugins, adding external animation libraries etc.<\/p>\r\n<h2 class=\"\">How to start<\/h2>\r\n<p class=\"\">Based on the <strong>user feedback<\/strong> we have gathered from over 2 1\/2 years of existence, the number one mistake that people make is that they start learning our framework on overly complicated design projects. Do yourself a big favor, <strong>start simple<\/strong>.<\/p>\r\n<p class=\"\">Take your time to watch a couple of our <a href=\"https:\/\/sketch2react.io\/docs\/tutorials.php\" target=\"_blank\" rel=\"noopener\">video tutorials<\/a>. Read our <a href=\"https:\/\/sketch2react.io\/blog\/tag\/tutorial\/\" target=\"_blank\" rel=\"noopener\">written ones<\/a>. Download our many <a href=\"https:\/\/marketplace.sketch2react.io\/product-category\/freebies\/\" target=\"_blank\" rel=\"noopener\">free Sketch resources<\/a>, study them and start experimenting yourself.<\/p>\r\n<p class=\"\">There are many ways of building prototypes. Since I actively work as a designer in my day-to-day job, I know that when taking the decision to actually <em>build<\/em> you always need to balance these things before taking a decision on how:<\/p>\r\n<ul class=\"\" style=\"padding: 0px 0px 16px 40px;\">\r\n<li>What is the purpose of the prototype?<\/li>\r\n<li>What do I want to show?<\/li>\r\n<li>Who is going to consume the prototype?<\/li>\r\n<li>How much time do I have?<\/li>\r\n<\/ul>\r\n<p class=\"\" style=\"padding: 0px;\">So say that Sketch is your primary design tool of choice. You can export your designs into a free Figma account and create really great prototypes, something I\u2019ve done many times. That is a perfect free solution for showing stakeholders, your other team members how things feel, look like, flow and how screens are connected to each other\u2026<\/p>\r\n<h2 class=\"\">So, what would I do in Sketch and Sketch2React?<\/h2>\r\n<ul class=\"\" style=\"padding: 0px 0px 16px 40px;\">\r\n<li>Prototypes that require real code constraints<\/li>\r\n<li>Trying out flexbox layouts and CSS animations<\/li>\r\n<li>Setting rules for responsive typography<\/li>\r\n<li>Showing devs in realtime how things should re-flow depending on breakpoints<\/li>\r\n<li>Experimenting with code<\/li>\r\n<li>Building demo files for you guys<\/li>\r\n<\/ul>\r\n<h2>Breakpoint bonanza<\/h2>\r\n<p class=\"\"><strong>We have Bootstrap 4 built-in.<\/strong> That gives you a huge advantage compared to prototype tools that don\u2019t. By not building our own custom solution, again like everyone seems to be doing, we give you a much bigger <strong>creative canvas<\/strong> to play with.<\/p>\r\n<p class=\"\">By using so-called CSS classes you can do magical things with Sketch2React straight from inside Sketch. Bootstrap has a plethora of classes doing different type of things, many are for neat layout tricks using something called <a href=\"https:\/\/getbootstrap.com\/docs\/4.0\/utilities\/flex\/\" target=\"_blank\" rel=\"noopener\">flex<\/a>.<\/p>\r\n<p class=\"\">We\u2019ve just released a nice<a href=\"https:\/\/marketplace.sketch2react.io\/product\/flexbox-layout-template\/\" target=\"_blank\" rel=\"noopener\"> flexbox template<\/a> that you can use as both a starting point for your new projects but also to learn.<\/p>\r\n<p class=\"\">So just by using Bootstraps <a href=\"https:\/\/getbootstrap.com\/docs\/4.0\/utilities\/display\/\" target=\"_blank\" rel=\"noopener\">Display property<\/a> on different parts of your design, you get a real understanding how your design behaves at <a href=\"https:\/\/getbootstrap.com\/docs\/4.0\/layout\/overview\/#responsive-breakpoints\" target=\"_blank\" rel=\"noopener\">breakpoints<\/a>.<\/p>\r\n<p>All of this without the need to actually needing to design all breakpoints manually, like you normally do when not using a fully responsive tool like ours.<\/p>\r\n<h3 class=\"\">Example<\/h3>\r\n<p class=\"\">In this example I wanted to show\/hide the cards on different breakpoints aka different sizes of screens. Here&#8217;s the <a href=\"https:\/\/www.dropbox.com\/s\/tenm9nusu2840zo\/Now%20You%20See%20Me%20Now%20You%20Dont.sketch?dl=0\" target=\"_blank\" rel=\"noopener\">Sketch file<\/a> if you want to have a look at how I solved it.<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\">\r\n<p class=\"mod-reset\"><a href=\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-895\" src=\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1.png\" alt=\"This is how it looks in Sketch\" width=\"1920\" height=\"1080\" srcset=\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1.png 1920w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1-300x169.png 300w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1-1024x576.png 1024w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1-768x432.png 768w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1-1536x864.png 1536w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1-250x141.png 250w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1-550x309.png 550w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1-800x450.png 800w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1-320x180.png 320w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1-533x300.png 533w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1-889x500.png 889w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\r\n<figcaption>This is how it looks in Sketch<\/figcaption>\r\n<\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<div class=\"boldgrid-section\">\r\n<div class=\"container\">\r\n<div class=\"row\">\r\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\r\n<p class=\"\">Basically, I have two setups of layouts, one for each major breakpoint. This way of designing in Sketch will at first seem really weird, we are used to just design each view with only the things that are supposed to be present. Well, just get used to it and you will find another way of doing things and eventually this will save you time.<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\">\r\n<p class=\"mod-reset\"><a href=\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-896\" src=\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset2.png\" alt=\"This is how it looks in Sketch2React - check out our brand new simulators function in dark mode!\" width=\"1920\" height=\"1080\" srcset=\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset2.png 1920w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset2-300x169.png 300w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset2-1024x576.png 1024w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset2-768x432.png 768w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset2-1536x864.png 1536w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset2-250x141.png 250w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset2-550x309.png 550w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset2-800x450.png 800w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset2-320x180.png 320w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset2-533x300.png 533w, https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset2-889x500.png 889w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/p>\r\n<figcaption>This is how it looks in Sketch2React &#8211; check out our brand new simulators function and dark mode! Coming soon folks!<\/figcaption>\r\n<\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<div class=\"boldgrid-section\">\r\n<div class=\"container\">\r\n<div class=\"row\">\r\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\r\n<p class=\"\">The great thing about Sketch2React is that once you solve things like this, you can just copy the entire markup and copy it onto another art-board where you want the same responsive behaviour.<\/p>\r\n<div style=\"width: 1200px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-898-1\" width=\"1200\" height=\"675\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/DisplayPropsExample.mp4?_=1\" \/><a href=\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/DisplayPropsExample.mp4\">https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/DisplayPropsExample.mp4<\/a><\/video><\/div>\r\n<p class=\"\" style=\"padding: 16px 0px 0px;\">It\u2019s just a matter of giving each group or layer in Sketch the right command, just like you do in code.<\/p>\r\n<p>That\u2019s it for this time, hope this was fun and informative for you.<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n\r\n","protected":false},"excerpt":{"rendered":"<p>Second version draft, cutting some things, rearranging stuff\u2026<\/p>\n","protected":false},"author":2,"featured_media":897,"comment_status":"closed","ping_status":"closed","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":[168],"tags":[58,179,178,55],"class_list":["post-898","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-miscellaneous","tag-bootstrap","tag-flexbox","tag-responsive","tag-sketch2react"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Why designing with code constraints is a great idea | Sketch2React Blog<\/title>\n<meta name=\"description\" content=\"We have Bootstrap 4 built-in. That gives you a huge advantage compared to prototype tools that don\u2019t. By not building our own custom solution, again like everyone seems to be doing, we give you a much bigger creative canvas to play with.\" \/>\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\/why-designing-with-code-constraints-is-a-great-idea\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why designing with code constraints is a great idea - Sketch2React Blog\" \/>\n<meta property=\"og:description\" content=\"We have Bootstrap 4 built-in. That gives you a huge advantage compared to prototype tools that don\u2019t. By not building our own custom solution, again like everyone seems to be doing, we give you a much bigger creative canvas to play with.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/\" \/>\n<meta property=\"og:site_name\" content=\"Sketch2React Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-21T15:20:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-05T11:05:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1.2f4f6e79ebc74ff39c5c8b2d71be0822.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/\"},\"author\":{\"name\":\"Juan Maguid\",\"@id\":\"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/7fc8fe20e137be20a66bc8634c059f4e\"},\"headline\":\"Why designing with code constraints is a great idea\",\"datePublished\":\"2020-12-21T15:20:20+00:00\",\"dateModified\":\"2021-02-05T11:05:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/\"},\"wordCount\":1196,\"publisher\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1.2f4f6e79ebc74ff39c5c8b2d71be0822.png\",\"keywords\":[\"Bootstrap\",\"Flexbox\",\"Responsive\",\"Sketch2react\"],\"articleSection\":[\"Miscellaneous\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/\",\"url\":\"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/\",\"name\":\"Why designing with code constraints is a great idea - Sketch2React Blog\",\"isPartOf\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1.2f4f6e79ebc74ff39c5c8b2d71be0822.png\",\"datePublished\":\"2020-12-21T15:20:20+00:00\",\"dateModified\":\"2021-02-05T11:05:35+00:00\",\"description\":\"We have Bootstrap 4 built-in. That gives you a huge advantage compared to prototype tools that don\u2019t. By not building our own custom solution, again like everyone seems to be doing, we give you a much bigger creative canvas to play with.\",\"breadcrumb\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/#primaryimage\",\"url\":\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1.2f4f6e79ebc74ff39c5c8b2d71be0822.png\",\"contentUrl\":\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1.2f4f6e79ebc74ff39c5c8b2d71be0822.png\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/sketch2react.io\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why designing with code constraints is a great idea\"}]},{\"@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:\/\/sketch2react.io\/blog\/#\/schema\/person\/image\/\",\"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":"Why designing with code constraints is a great idea | Sketch2React Blog","description":"We have Bootstrap 4 built-in. That gives you a huge advantage compared to prototype tools that don\u2019t. By not building our own custom solution, again like everyone seems to be doing, we give you a much bigger creative canvas to play with.","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\/why-designing-with-code-constraints-is-a-great-idea\/","og_locale":"en_US","og_type":"article","og_title":"Why designing with code constraints is a great idea - Sketch2React Blog","og_description":"We have Bootstrap 4 built-in. That gives you a huge advantage compared to prototype tools that don\u2019t. By not building our own custom solution, again like everyone seems to be doing, we give you a much bigger creative canvas to play with.","og_url":"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/","og_site_name":"Sketch2React Blog","article_published_time":"2020-12-21T15:20:20+00:00","article_modified_time":"2021-02-05T11:05:35+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1.2f4f6e79ebc74ff39c5c8b2d71be0822.png","type":"image\/png"}],"author":"Juan Maguid","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Juan Maguid","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/#article","isPartOf":{"@id":"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/"},"author":{"name":"Juan Maguid","@id":"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/7fc8fe20e137be20a66bc8634c059f4e"},"headline":"Why designing with code constraints is a great idea","datePublished":"2020-12-21T15:20:20+00:00","dateModified":"2021-02-05T11:05:35+00:00","mainEntityOfPage":{"@id":"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/"},"wordCount":1196,"publisher":{"@id":"https:\/\/sketch2react.io\/blog\/#organization"},"image":{"@id":"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/#primaryimage"},"thumbnailUrl":"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1.2f4f6e79ebc74ff39c5c8b2d71be0822.png","keywords":["Bootstrap","Flexbox","Responsive","Sketch2react"],"articleSection":["Miscellaneous"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/","url":"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/","name":"Why designing with code constraints is a great idea - Sketch2React Blog","isPartOf":{"@id":"https:\/\/sketch2react.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/#primaryimage"},"image":{"@id":"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/#primaryimage"},"thumbnailUrl":"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1.2f4f6e79ebc74ff39c5c8b2d71be0822.png","datePublished":"2020-12-21T15:20:20+00:00","dateModified":"2021-02-05T11:05:35+00:00","description":"We have Bootstrap 4 built-in. That gives you a huge advantage compared to prototype tools that don\u2019t. By not building our own custom solution, again like everyone seems to be doing, we give you a much bigger creative canvas to play with.","breadcrumb":{"@id":"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/#primaryimage","url":"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1.2f4f6e79ebc74ff39c5c8b2d71be0822.png","contentUrl":"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2020\/12\/ArticleAsset1.2f4f6e79ebc74ff39c5c8b2d71be0822.png","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/sketch2react.io\/blog\/why-designing-with-code-constraints-is-a-great-idea\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sketch2react.io\/blog\/"},{"@type":"ListItem","position":2,"name":"Why designing with code constraints is a great idea"}]},{"@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:\/\/sketch2react.io\/blog\/#\/schema\/person\/image\/","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\/898","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=898"}],"version-history":[{"count":10,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/posts\/898\/revisions"}],"predecessor-version":[{"id":976,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/posts\/898\/revisions\/976"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/media\/897"}],"wp:attachment":[{"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/media?parent=898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/categories?post=898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/tags?post=898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}