<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Diego Consen on Medium]]></title>
        <description><![CDATA[Stories by Diego Consen on Medium]]></description>
        <link>https://medium.com/@diego.consen?source=rss-70e46921a626------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XjzkJf0KiZutWxaNp3V7zA.png</url>
            <title>Stories by Diego Consen on Medium</title>
            <link>https://medium.com/@diego.consen?source=rss-70e46921a626------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 06:43:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@diego.consen/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Front-end: From Zero to Hero]]></title>
            <link>https://medium.com/navara/front-end-from-zero-to-hero-34e89a9a6bbb?source=rss-70e46921a626------2</link>
            <guid isPermaLink="false">https://medium.com/p/34e89a9a6bbb</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[html]]></category>
            <dc:creator><![CDATA[Diego Consen]]></dc:creator>
            <pubDate>Thu, 17 Jul 2025 10:38:33 GMT</pubDate>
            <atom:updated>2025-07-17T11:36:47.310Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>Level 0: Back to the basics</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2caOV8kzLYNsXgFPHie0Lw.jpeg" /></figure><p>What front-end framework should you use? React? Angular? Or maybe Vue? All front-end frameworks have their own pros and cons, but in general you cannot go wrong picking any modern framework. What determines the effectiveness and scalability of your front-end is the underlying structure and a team’s ability to stick with it. Without solid guidelines your team is often doomed to create yet another Frankenstein’s Monster by constantly updating existing components with increasingly complex logic instead of creating a new variant.</p><p>In software development we are always told to keep it simple and not repeat ourselves. However, in front-end development that simplicity is often sacrificed to prevent repeating yourself. This happens because front-ends add another layer of complexity in the form of visuals. Just because components look the same, does not automatically mean that they serve the same function. In this series of articles I would like to take you back to the basics. We will be looking at how to structure components, develop a design-system, and much more to make your next project a success.</p><h3><strong>Component structure</strong></h3><p>Let’s say that we are tasked with creating a login card for a fictional new website. We have received a design and clear requirements are provided. It is very tempting to just start adding all details from the start, but let’s take a step back.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5YyCEqvMHq7wX7O0xZ8J7A.png" /><figcaption>Login Card — Design</figcaption></figure><p><strong>Box-model</strong><br>To understand what we are building it is good to break down all elements of the component. A trick I often employ is to imagine the component as a collection of blocks. In this case we have a container with a header and a login form. This form is then further subdivided in more sections. The code example contains some CSS but this is purely to visualize the box-model.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2FDiego-Consen-the-animator%2Fembed%2Fpreview%2FZYbbJrB%3Fdefault-tabs%3Dhtml%252Cresult%26height%3D600%26host%3Dhttps%253A%252F%252Fcodepen.io%26slug-hash%3DZYbbJrB&amp;display_name=CodePen&amp;url=https%3A%2F%2Fcodepen.io%2FDiego-Consen-the-animator%2Fpen%2FZYbbJrB&amp;image=https%3A%2F%2Fshots.codepen.io%2Fusername%2Fpen%2FZYbbJrB-512.jpg%3Fversion%3D1752744985&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/f622bd72f833ec05be497a5b733315eb/href">https://medium.com/media/f622bd72f833ec05be497a5b733315eb/href</a></iframe><p>By creating this box-model first you allow yourself to focus on the underlying structure first before adding in all distracting details. Too often have I seen components littered with HTML elements to accommodate all details, and I am not innocent here either. When a component is less cluttered it becomes more maintainable as a result.</p><p><strong>Semantic elements</strong><br>When you have completed this box-model it is time to introduce semantics to our template. There are of course some elements that add the necessary functionality to our component but there are also many elements that help your browser identify their role and meaning.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2FDiego-Consen-the-animator%2Fembed%2Fpreview%2FPwPPKav%3Fdefault-tabs%3Dhtml%252Cresult%26height%3D600%26host%3Dhttps%253A%252F%252Fcodepen.io%26slug-hash%3DPwPPKav&amp;display_name=CodePen&amp;url=https%3A%2F%2Fcodepen.io%2FDiego-Consen-the-animator%2Fpen%2FPwPPKav&amp;image=https%3A%2F%2Fshots.codepen.io%2Fusername%2Fpen%2FPwPPKav-512.jpg%3Fversion%3D1752745328&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/68dfaf95099ec3dead633d3d8726ff88/href">https://medium.com/media/68dfaf95099ec3dead633d3d8726ff88/href</a></iframe><p>Semantic HTML does not only add to the readability and maintainability of your code but is also vital in accessibility and allows for better Search Engine Optimisation. Since June 28th 2025, building accessible front-ends is also no longer a good ambition but required by law in Europe following the <a href="https://commission.europa.eu/strategy-and-policy/policies/justice-and-fundamental-rights/disability/union-equality-strategy-rights-persons-disabilities-2021-2030/european-accessibility-act_en">European Accessibility Act</a>.</p><p><strong>Adding detail</strong><br>After adding semantics to our component template it is finally time to add the visual details to our login card. To me, writing effective CSS is an art of its own and should be explored before simplifying your workflow by using Tailwind for example. When we have added the CSS to our component it comes alive and allows us to move forward.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2FDiego-Consen-the-animator%2Fembed%2Fpreview%2FbNVVrxN%3Fdefault-tabs%3Dcss%252Cresult%26height%3D600%26host%3Dhttps%253A%252F%252Fcodepen.io%26slug-hash%3DbNVVrxN&amp;display_name=CodePen&amp;url=https%3A%2F%2Fcodepen.io%2FDiego-Consen-the-animator%2Fpen%2FbNVVrxN&amp;image=https%3A%2F%2Fshots.codepen.io%2Fusername%2Fpen%2FbNVVrxN-512.jpg%3Fversion%3D1752745482&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/93b3d2909c93f751def42f9092396cbd/href">https://medium.com/media/93b3d2909c93f751def42f9092396cbd/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34e89a9a6bbb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/navara/front-end-from-zero-to-hero-34e89a9a6bbb">Front-end: From Zero to Hero</a> was originally published in <a href="https://medium.com/navara">NAVARA</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Key takeaways from Storybook’s first meetup in Paris]]></title>
            <link>https://medium.com/navara/key-takeaways-from-storybooks-first-meetup-in-paris-5d1ffe816880?source=rss-70e46921a626------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d1ffe816880</guid>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[storybook]]></category>
            <category><![CDATA[chromatics]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Diego Consen]]></dc:creator>
            <pubDate>Wed, 15 Nov 2023 08:11:36 GMT</pubDate>
            <atom:updated>2023-11-15T08:18:04.605Z</atom:updated>
            <content:encoded><![CDATA[<h3>Key Takeaways From Storybook’s First Meetup in Paris</h3><h4><strong>Automation + Tools for design system engineers.</strong></h4><figure><img alt="View from the top floor of the Eiffel Tower, Paris" src="https://cdn-images-1.medium.com/max/1024/1*QfwabpxX22QcXuCMKTP9-A.png" /><figcaption>Taking in the breathtaking view over Paris after the event.</figcaption></figure><p>Last Tuesday, November 7th, 2023, marked the first Paris Storybook meetup. I was fortunate enough to be part of this insightful event with like-minded professionals.</p><p>To be quite honest, when first arriving at the venue I was worried that I had shown up at the wrong place. But don’t let yourself be fooled by appearance. When I spotted the big neon sign behind the front desk with some strong language suggesting that reusing products is the way to go, I immediately knew I had the correct spot. We got there a bit early so not a lot of people had shown, but it started to get more and more crowded as the first session was about to start.</p><p>If you couldn’t make it to Paris, or the event livestream even, let me make it up to you by sharing some of the key takeaways from this enervating event.</p><h4><strong>Storybook (+ Chromatic)</strong></h4><p>The night was kicked off by one of Storybook’s core maintainers ‘Norbert de Langen’, taking us through the basics of Storybook and how you can leverage its strengths even further using Chromatic. Developing frontends and design systems can be quite challenging because the future is always uncertain. As Norbert rightfully said: “Abstraction is hard, but testing UI is REALLY hard.”</p><p>Storybook is all about developing UI components in isolation, removing the confusing contexts in which the component may be used. Most developers are familiar with unit-testing their code, and this is also certainly possible for testing your UI components. However, these tests often rely on virtual DOMs set by NodeJS and JSDOM. Storybook enables you to perform these unit tests in different browser contexts while also providing you with a visual representation of your component and any unexpected differences that were found compared to previous versions of your UI element.</p><p>The tests that you write for Storybook are run in ‘Play functions’ after the component has rendered. The developer also has access to a step-by-step trace of the test for optimal debugging, seeing the exact interaction that caused your new element to fail. There is also a test runner available for NodeJS, powered by Playwright, that can run Storybook’s play functions in parallel and cross-browser. If that wasn’t enough you aren’t even limited to running the tests on your local storybook project, but also against deployed Storybook projects.</p><p>By incorporating Chromatic into this equation you can set up automated workflows as part of your pull request cycles that allow for visual regression testing as well. A static build of your Storybook project is published to Chromatic and, like you are used to with GIT pull requests, a review is prepared for the stakeholders that you’ve set up for your specific use cases. Currently, a plugin is in Beta to run these visual tests right from within your Storybook dashboard.</p><h4><strong>Design System Compliance</strong></h4><p>Next up was Victor Michaud, Design System Manager at Doctolib, sharing with us how he and his team deal with the challenge of compliance with their design systems.</p><p>To tackle this, the team has built its own Figma-plugin to identify all compliant and non-compliant layers in the project. Using these numbers they can estimate a percentage of compliance using a proprietary formula. Doctolib has also developed an in-house extension for Google Chrome that highlights (non-)compliant elements in a live preview. These tools help them to identify any design system debt that they may be facing, such as missing components. The goal is not to reach 100% compliance as this would inhibit creativity. Striving for 75% or 80% design system compliance would be just as good, if not better.</p><h4><strong>Design Tokens</strong></h4><p>To close off the night we had Steve Dodier-Lazaro from our host BackMarket to share their experience with design tokens. Particularly how their team has struggled with changing design tokens throughout a complex codebase.</p><p>Design tokens describe general properties that are used throughout a design system. For example, color, spacing, and fonts can be captured in design tokens so that they may be re-used throughout your product. Contrary to popular belief Steve states that the use of design tokens does NOT make future brand changes easy as their team has experienced firsthand how much trouble it is. What it does however provide your team with is a formalized style declaration and uniform CSS.</p><p>When design tokens change, often the code has to be migrated, and most of the time this is done manually by the developers. This is where they have found a way to optimize this process. Migrating design tokens usually consists of a combination of <em>value change</em>, <em>addition, removal, </em>and <em>replacement</em>. To tackle these migrations the team has used codemodding to replace patterns in their code based on grammar. This even allowed for previously hardcoded values to be replaced with newly defined design tokens.</p><p>All in all, I look back on an interesting event with professionals who share a passion for front-end development. Many thanks to all the speakers, organizers, and everyone I have had a chance to speak to about our mutual passion.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d1ffe816880" width="1" height="1" alt=""><hr><p><a href="https://medium.com/navara/key-takeaways-from-storybooks-first-meetup-in-paris-5d1ffe816880">Key takeaways from Storybook’s first meetup in Paris</a> was originally published in <a href="https://medium.com/navara">NAVARA</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>