<?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 Vitor Amaral on Medium]]></title>
        <description><![CDATA[Stories by Vitor Amaral on Medium]]></description>
        <link>https://medium.com/@vacom?source=rss-96b8320d871------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*j4o8dpvEJ1Svj7qVj68ZzQ.jpeg</url>
            <title>Stories by Vitor Amaral on Medium</title>
            <link>https://medium.com/@vacom?source=rss-96b8320d871------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 06:53:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vacom/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[Just launched UpStamps on ProductHunt ]]></title>
            <link>https://medium.com/@vacom/just-launched-upstamps-on-producthunt-3a8e7ab1b4ef?source=rss-96b8320d871------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a8e7ab1b4ef</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[product]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[user-interface]]></category>
            <dc:creator><![CDATA[Vitor Amaral]]></dc:creator>
            <pubDate>Sun, 28 Jun 2020 14:39:44 GMT</pubDate>
            <atom:updated>2020-06-28T14:39:44.013Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/877/0*5Pcan4OFFeXgjGo-.gif" /></figure><p>What is <a href="https://upstamps.com/">UpStamps</a>?</p><p>UpStamps is a Feature Flag Management Platform that lets you manage every feature with a central visibility and control user interface. Teams and developers are managing their projects using feature management to progressively deliver features to users with confidence.</p><p>UpStamps helps you test in production without deployments and offers easy to use SDKs and Components for development teams to quickly build and deploy applications.</p><p>Key Features:</p><p><strong>Create Projects:</strong></p><p>Integrate different Feature Flags across multiple projects and manage across the web, mobile, and server-side applications.</p><p><strong>Organize by Environments:</strong></p><p>Separate features deployment across different environments and control their feature lifecycles.<br>Easily Deploy with Feature &amp; Remote Flags:</p><p>Use flags to test faster in Production, eliminating the risk by maintaining control of the deployments. Use Remote Flags to change in real-time behavior of features through response data.</p><p><strong>Run A/B Tests:</strong></p><p>Use A/B Tests to randomized experiments with two variants and compare them with the user’s response. Decide by your user’s feedback which variant is more effective to launch.<br>Target Specific Segments:</p><p>Control who has access to new features with Segments and define Targets based on Users Device or Location.</p><p><strong>Why I created UpStamps?</strong></p><p>Why did I create UpStamps? In the projects where I work professionally, I started to notice a fear of launching new features for production. The old method delayed the launch of new features and this was not even the most relevant point. Sometimes there were situations where it was necessary to have certain features in production for specific users and we (the developers) had to use localStorage and variables to manipulate the visibility of the feature, then we always had to work on the code to disable or activate it.</p><p>So I developed a simple platform to help teams and developers to launch production features more confidently</p><p>Let me know what you think and comment below if you’d like! ❤️</p><p><a href="https://www.producthunt.com/posts/upstamps">ProductHunt Link</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a8e7ab1b4ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Friday: Hunt 2]]></title>
            <link>https://medium.com/@vacom/web-friday-hunt-2-2a5e34478ea1?source=rss-96b8320d871------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a5e34478ea1</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[freebies]]></category>
            <dc:creator><![CDATA[Vitor Amaral]]></dc:creator>
            <pubDate>Fri, 05 Jun 2020 17:33:56 GMT</pubDate>
            <atom:updated>2020-06-05T17:33:56.736Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AEaGTB-Fs5xZCuCM0ITXOA.jpeg" /></figure><p><strong>Web Friday Hunt</strong> is new series of publications that I will start doing every Friday, sharing here links to articles, applications, tools, tutorials or anything related to developers that I will find on the internet.</p><p>In context, I am always looking for new things on the internet related to programmers, this can be new tools, libraries or even frameworks. Most I keep in my bookmarks to be able to use or even experiment in the future</p><p>I hope you like the list below, contribute or discuss any of the links mentioned by leaving a comment.</p><h4>The Hunt</h4><p><strong>Tools, Libraries &amp; Frameworks</strong></p><ul><li><a href="https://bottender.js.org/">Bottender</a></li><li><a href="https://bojler.slicejack.com/">Bojler</a></li><li><a href="http://trowel.github.io/">Trowel</a></li><li><a href="https://pushjs.org/">Pushjs</a></li><li><a href="https://stimulusjs.org/">Stimulusjs</a></li><li><a href="https://www.colorsandfonts.com/">Colors &amp; Fonts</a></li><li><a href="https://www.shapedivider.app/">shapedivider</a></li></ul><p><strong>Open Source</strong></p><ul><li><a href="https://html5up.net/">html5up</a></li><li><a href="https://stories.freepik.com/">Stories</a></li><li><a href="https://github.com/woocommerce/woocommerce">woocommerce</a></li><li><a href="https://github.com/Polymer/lit-html">lit-html</a></li><li><a href="https://github.com/leeoniya/uPlot">uPlot</a></li><li><a href="https://github.com/ionic-team/stencil">Stencil</a></li><li><a href="https://github.com/ben-rogerson/twin.macro">twin.macro</a></li><li><a href="https://defaced.dev/tools/consoleimg/">consoleimg</a></li><li><a href="https://gridjs.io/">GridJS</a></li></ul><p><strong>Apps &amp; Products</strong></p><ul><li><a href="https://miny.app/">Mini — friendly URL shortener.</a></li><li><a href="https://loggie.io/">Loggie</a></li><li><a href="https://www.avodocs.com/">Avodocs</a></li><li><a href="https://livedocs.io/">Livedocs</a></li><li><a href="https://www.8base.com/">8base</a></li><li><a href="https://fossa.com/">Fossa</a></li><li><a href="https://snyk.io/">Snyk</a></li><li><a href="https://mileo.io/">Mileo</a></li><li><a href="https://codernotes.io/">CoderNotes</a></li><li><a href="https://supabase.io/">Supabase</a></li><li><a href="https://www.gettaro.com/">Taro</a></li></ul><p><strong>Articles &amp; Tuts</strong></p><ul><li><a href="https://css-tricks.com/a-guide-to-the-responsive-images-syntax-in-html/">A Guide to the Responsive Images Syntax in HTML</a></li><li><a href="https://medium.com/@frontender_ua/frontend-weekly-digest-160-25-31-may-2020-994773e822de">Frontend Weekly Digest #160 (25 –31 May 2020)</a></li><li><a href="https://techstacker.com/how-to-set-up-react-native-cli-mac-android/">React Native: How to Setup React Native CLI for Android on macOS</a></li><li><a href="https://blog.codota.com/angular-vs-react/">Angular vs React: 5 Key Differences</a></li><li><a href="https://www.webdesignerdepot.com/2020/05/should-your-site-be-using-dark-mode/">Should your site be using dark mode?</a></li><li><a href="https://dribbble.com/stories/2020/05/27/font-pairing-tools-for-designers">10 excellent font pairing tools for designers</a></li><li><a href="https://qodeinteractive.com/magazine/color-combinations">20+ Beautiful Color Combinations for Your Next Project</a></li><li><a href="https://increment.com/frontend/a-users-guide-to-css-variables/">A user’s guide to CSS variables</a></li><li><a href="https://www.sarasoueidan.com/blog/style-settings-with-css-variables/">Global and Component Style Settings with CSS Variables</a></li></ul><h3>Summary</h3><p>As you can see, it is a highly opinionated list, but these are things that I find and keep and now I will share with you every Friday.</p><p>Leave in the comments how I can improve with new categories, or another aspect. Thank you for your time and good Friday. 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a5e34478ea1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dokolio — Private Markdown Presentations on Blockchain]]></title>
            <link>https://medium.com/@vacom/dokolio-private-markdown-presentations-on-blockchain-d9ed21d22ac4?source=rss-96b8320d871------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9ed21d22ac4</guid>
            <category><![CDATA[blockstack]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[serverless]]></category>
            <dc:creator><![CDATA[Vitor Amaral]]></dc:creator>
            <pubDate>Sun, 24 May 2020 16:51:12 GMT</pubDate>
            <atom:updated>2020-05-24T16:51:12.265Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dokolio — Private Markdown Presentations on Blockchain</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*kEfDTkG4UqhMKNC8Kedw9w.png" /></figure><p>This weekend, I challenged myself to create an application where data is stored on the blockchain. Dokolio helps to create markdown presentations, creating a document writing experience.</p><p>It’s free &amp; unlimited you control the data stored</p><p>Check the Preview: <a href="https://dokolio.com/">https://dokolio.com</a></p><p>Note: This is very experimental and for fun, created this weekend.</p><h4>Private &amp; Secure</h4><p>You have control over your data, we don’t keep it anywhere. Manage everything through the blockchain with your BlockStack account</p><h4>Markdown Editor</h4><p>We use a dynamic markdown editor to make presentations like writing a simple document. Ready for developers and writers</p><h4>Create &amp; Share</h4><p>Share your presentations with anyone you want. Click “Open Presentation” button to see the link to your presentation.</p><h4>Provided by BlockStack</h4><p>Blockstack apps use private data lockers and a universal login with blockchain-based security and encryption — protecting your data from big internet companies.</p><h4>Blockchain-powered</h4><p>Blockstack is a decentralized computing network and app ecosystem that puts users in control of their identity and data.</p><h4>The Stack</h4><ul><li>TypeScript</li><li>React</li><li>Vercel</li><li>Blockstack</li><li>Stine Framework</li><li>Markdown</li><li>Spectacle</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9ed21d22ac4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is your current stack?]]></title>
            <link>https://medium.com/@vacom/what-is-your-current-stack-970c6d626c30?source=rss-96b8320d871------2</link>
            <guid isPermaLink="false">https://medium.com/p/970c6d626c30</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[dev]]></category>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Vitor Amaral]]></dc:creator>
            <pubDate>Wed, 20 May 2020 18:24:41 GMT</pubDate>
            <atom:updated>2020-05-20T18:24:41.265Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*ql8TuCTff1A8odrS3K4JvA.jpeg" /></figure><p>I currently use several tools and platforms to develop my projects. Below I present languages, libraries, tools, platforms that I use to facilitate development. Leave in the comments the stack you are using to share with the community.</p><h3>The Stack</h3><p>I don’t always use the tools in all projects or in the same project but in my current projects, I use the list below.</p><h3><a href="https://hasura.io/">Hasura</a></h3><p>Hasura is an open-source engine that connects to your databases and auto-generates a production-ready GraphQL backend. I use Hasura to develop backends with GraphQL as soon as possible, this allows me to speed up the development of features in Frontend and not worry too much about Backend.</p><p>Comes with a visual dashboard, is like having your own Firebase or Parse, in this case, you control where to host.</p><h3><a href="https://www.heroku.com/">Heroku</a></h3><p>Heroku is a cloud platform that lets you build, deliver, monitor, and scale apps. I use Heroku to host Hasura, it is very easy to start using Hasura and Heroku. With just one click, you can have your API hosted on Heroku.</p><h3><a href="https://vercel.com/">Vercel</a></h3><p>Vercel is a platform to deploy static sites and serverless functions with a simple “now” command in your project terminal you can have your project deployed with a global CDN. I use Vercel to host my sites, projects, and serverless functions.</p><h3><a href="https://auth0.com/">Auth0</a></h3><p>Auth0 is an authentication and authorization service for web, mobile, and legacy applications. It helps implement identity faster with less code, I use Auth0 to create the security layer together with the Hasura API. This allows me to create applications with authentication support.</p><h3><a href="https://reactjs.org/">React</a></h3><p>React is a JavaScript library for building the user interface. I use practically React in all my projects, personally and professionally. I use other React dependencies like Styled-Components and React-Router. In a nutshell, I am very involved in the React ecosystem.</p><h3><a href="https://www.typescriptlang.org/">TypeScript</a></h3><p>TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. I started using TypeScript recently in my projects. I use in React projects, serverless functions or other projects that are within the JavaScript ecosystem.</p><h3><a href="https://reactnative.dev/">React Native</a></h3><p>React Native combines the best parts of native development with React, a best-in-class JavaScript library for building mobile user interfaces. I made some applications for mobile and all were made with React Native.</p><h3><a href="https://github.com/">Github</a></h3><p>GitHub is a development platform for hosting and review code, manage projects, and build software. This everyone knows, I practically use GitHub to host the code of my projects. I have some open-source libraries developed, take a look at my profile.</p><h3><a href="https://www.codacy.com/">Codacy</a></h3><p>Codacy automatically identifies issues through static code review analysis. I use Codacy to analyze and improve my code through Github. I get notified on security issues, code coverage, code duplication, and code complexity in every commit and pull request.</p><h3><a href="https://phrase.com/">Phrase</a></h3><p>Phrase helps me in localization and release translations to all my project. It is simple to use and supports different types of localization formats and libraries.</p><h3>Want to learn</h3><p>I am constantly learning and below I present what is next to use and learn in my future projects</p><h3>ReasonML</h3><p>Reason lets you write simple, fast and quality type safe code while leveraging both the JavaScript &amp; OCaml ecosystems.</p><h3>RecoilJS</h3><p>RecoilJS is a state management library for React apps.</p><p>The core concept of Recoil is the data-flow where data travels from Atoms (shared state) through Selectors (pure functions) down into React components building your app.</p><p>React Components can subscribe to these atoms. The subscription can be used to get and set data from Atoms. Recoil works and thinks just like React providing a fast &amp; flexible shared state.</p><p><strong>Check my other posts on RecoilJS</strong></p><ul><li><a href="https://dev.to/vacom/the-state-of-recoiljs-57a2">The State of RecoilJS</a></li><li><a href="https://dev.to/vacom/a-simple-counter-with-the-new-recoil-facebook-state-management-library-for-react-215k">A Simple Counter with the new RecoilJS</a></li></ul><h3><a href="https://remix.run/">Remix</a></h3><p>Remix is a React framework for dynamic web apps from the creators of React Router.</p><h3><a href="https://flutter.dev/">Flutter</a></h3><p>Flutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase.</p><h3>Summary</h3><p>I use a lot more services and platforms than the list mentioned but the goal is to show a general idea of the stack I use most in my projects. Now I challenge you to leave your stack in the comments, to discuss and even learn a little more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=970c6d626c30" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build or buy a feature flagging platform?]]></title>
            <link>https://medium.com/@vacom/build-or-buy-a-feature-flagging-platform-850efb0346bb?source=rss-96b8320d871------2</link>
            <guid isPermaLink="false">https://medium.com/p/850efb0346bb</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Vitor Amaral]]></dc:creator>
            <pubDate>Wed, 20 May 2020 13:28:11 GMT</pubDate>
            <atom:updated>2020-05-20T13:28:11.525Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*wHmb5R0HY6_AT3XNOyuWCg.jpeg" /></figure><p><strong>Disclaimer:</strong> <em>The content below is based on </em><a href="https://featureflags.io/"><em>Feature Flags Hub</em></a><em> — The Hub for Feature Flag Driven Development. This hub helps developers learn more about feature flagging techniques. This article just helps to clarify why I build my Project </em><a href="https://upstamps.com/"><em>UpStamps</em></a><em>. The Hub also shows alternatives projects and tools. If you have any questions please comment in a respectful way.</em></p><h3>Build vs Buy</h3><p>As a developer or product manager, your mission is to deliver quality software on time. You are looking to make your team fast, productive, and more coordinated. Most importantly, you want your customers to love your product. Feature flagging can help you achieve all these goals.</p><p>Developer tools are the foundation for building successful products. Without team collaboration tools, issue tracking tools, IDEs, and version control systems, your team would find it challenging to release high-quality software. To facilitate and improve product development, managers must inevitably decide whether to build developer tools in-house, purchase a platform, or maintain.</p><p>Feature flagging is a technique that becomes difficult to manage on an enterprise scale. It’s easy to manage one feature flag by modifying a configuration file, but when you have multiple feature flags across different environments, it’s harder to keep everyone in sync in a compliant fashion. Facebook has a feature flagging system called Gatekeeper that took years to build, using limitless engineering resources. Wrapping one feature with an if/else is just the start, an enterprise-grade feature flagging systems requires:</p><ul><li>An intuitive dashboard that an entire organization can use</li><li>Complex business rules for flags — “Can we roll this out to 10% of customers in England?”</li><li>Multivariate values — “If an end-user is on a different device version, behave differently.”</li><li>Performance &amp; targeting analytics.</li><li>Speed in microseconds</li><li>Scale to handle millions/billions of flag evaluations</li><li>100% uptime and redundancy</li></ul><p>Companies that have built internal feature flagging tools (e.g. Google, Facebook, and Amazon) dedicated large teams of engineers and DevOps experts to build the platform, and continue to use full-time engineers to maintain and scale their systems.</p><h3><a href="https://www.upstamps.com/">How UpStamps helps?</a></h3><p><a href="https://www.upstamps.com/">UpStamps</a> is a Feature Flag Management Platform to separate code from different environments and projects.</p><p>UpStamps helps teams manage their projects using feature management with a <strong>Central control</strong> to progressively deliver features to users with confidence.</p><p><a href="https://app.upstamps.com/">Sign Up for Free</a></p><p>🛳 Ship when you’re ready<br>🚀 Accelerate feature release<br>🙈 Hide unfinished features</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*9JwaJCHXkEXcb7nA.png" /></figure><p>Useful links about UpStamps:</p><ul><li><a href="https://www.upstamps.com/">About</a></li><li><a href="https://docs.upstamps.com/">Documentation</a></li><li><a href="https://app.upstamps.com/">Start Testing in Production</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=850efb0346bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create your first Web Component with LitElement]]></title>
            <link>https://medium.com/@vacom/create-your-first-web-component-with-litelement-172089831b70?source=rss-96b8320d871------2</link>
            <guid isPermaLink="false">https://medium.com/p/172089831b70</guid>
            <category><![CDATA[html]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[components]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Vitor Amaral]]></dc:creator>
            <pubDate>Tue, 19 May 2020 16:45:31 GMT</pubDate>
            <atom:updated>2020-05-19T16:45:31.982Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*YVuOMP4Ohid_hXC6FJbZ5Q.jpeg" /></figure><h3>What is LitElement</h3><p><a href="https://lit-element.polymer-project.org/">LitElement</a> is a simple base class for creating fast, lightweight web components.</p><p>LitElement makes it easy to define Web Components. Use your components anywhere you use HTML: in your main document, a CMS, Markdown, or a framework like React or Vue.</p><p><strong>Why use LitElement?</strong></p><ul><li>It is simple and familiar;</li><li>It is extremely fast;</li><li>Follows the Web Components standards;</li><li>Work with any framework.</li></ul><pre>import { LitElement, html, property, customElement } from &#39;lit-element&#39;;</pre><pre>@customElement(&#39;simple-greeting&#39;)<br>export class SimpleGreeting extends LitElement {<br>  @property() name = &#39;World&#39;;</pre><pre>  render() {<br>    return html`&lt;p&gt;Hello, ${this.name}!&lt;/p&gt;`;<br>  }<br>}</pre><pre>&lt;simple-greeting name=&quot;Everyone&quot;&gt;&lt;/simple-greeting&gt;</pre><p>Check out the <a href="https://lit-element.polymer-project.org/">Documentation</a> or <a href="https://github.com/Polymer/lit-element">Github</a> to learn more.</p><h3>Creating a universal navigation bar</h3><p><strong>Install dependencies</strong></p><pre>yarn add lit-element</pre><p><strong>Install dev dependencies</strong></p><pre>yarn add -D @babel/core @babel/plugin-proposal-class-properties @babel/plugin-proposal-decorators polymer-cli rollup rollup-plugin-node-resolve</pre><p><strong>package.json</strong></p><pre>{<br>  &quot;name&quot;: &quot;bar-service&quot;,<br>  &quot;version&quot;: &quot;0.0.2&quot;,<br>  &quot;description&quot;: &quot;&quot;,<br>  &quot;main&quot;: &quot;build/index.js&quot;,<br>  &quot;module&quot;: &quot;build/index.es.js&quot;,<br>  &quot;jsnext:main&quot;: &quot;build/index.es.js&quot;,<br>  &quot;scripts&quot;: {<br>    &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;,<br>    &quot;start&quot;: &quot;polymer serve&quot;,<br>    &quot;build&quot;: &quot;rollup -c&quot;<br>  },<br>  &quot;license&quot;: &quot;ISC&quot;,<br>  &quot;devDependencies&quot;: {<br>    &quot;@babel/core&quot;: &quot;^7.9.0&quot;,<br>    &quot;@babel/plugin-proposal-class-properties&quot;: &quot;^7.8.3&quot;,<br>    &quot;@babel/plugin-proposal-decorators&quot;: &quot;^7.8.3&quot;,<br>    &quot;polymer-cli&quot;: &quot;^1.9.11&quot;,<br>    &quot;rollup&quot;: &quot;^2.6.0&quot;,<br>    &quot;rollup-plugin-node-resolve&quot;: &quot;^5.2.0&quot;<br>  },<br>  &quot;dependencies&quot;: {<br>    &quot;lit-element&quot;: &quot;^2.3.1&quot;<br>  }<br>}</pre><p><strong>rollup.config.js</strong></p><pre>import resolve from &quot;rollup-plugin-node-resolve&quot;;</pre><pre>export default {<br>  input: [&quot;my-element.js&quot;],<br>  output: {<br>    file: &quot;build/index.js&quot;,<br>    format: &quot;es&quot;,<br>    sourcemap: true,<br>  },<br>  plugins: [resolve()],<br>};</pre><p><strong>babel.config.js</strong></p><pre>const plugins = [<br>  &quot;@babel/plugin-proposal-class-properties&quot;,<br>  [&quot;@babel/plugin-proposal-decorators&quot;, { decoratorsBeforeExport: true }],<br>];</pre><pre>module.exports = { plugins };</pre><p><strong>my-element.js</strong></p><pre>import { LitElement, html, css } from &quot;lit-element&quot;;</pre><pre>class MyElement extends LitElement {<br>  static get styles() {<br>    return css`<br>      ul {<br>        list-style-type: none;<br>        margin: 0;<br>        padding: 0;<br>        overflow: hidden;<br>        background-color: #333;<br>      }</pre><pre>      li {<br>        float: left;<br>      }</pre><pre>      li a {<br>        display: block;<br>        color: white;<br>        text-align: center;<br>        padding: 14px 16px;<br>        text-decoration: none;<br>      }</pre><pre>      li a:hover:not(.active) {<br>        background-color: #111;<br>      }</pre><pre>      .active {<br>        background-color: #4caf50;<br>      }<br>    `;<br>  }<br>  render() {<br>    return html`<br>      &lt;ul&gt;<br>        &lt;li&gt;&lt;a href=&quot;#home&quot;&gt;Noticias&lt;/a&gt;&lt;/li&gt;<br>        &lt;li&gt;&lt;a href=&quot;#news&quot;&gt;Agenda&lt;/a&gt;&lt;/li&gt;<br>        &lt;li&gt;&lt;a href=&quot;#contact&quot;&gt;Serviços&lt;/a&gt;&lt;/li&gt;<br>        &lt;li style=&quot;float:right&quot;&gt;&lt;a class=&quot;active&quot; href=&quot;#about&quot;&gt;Perfil&lt;/a&gt;&lt;/li&gt;<br>      &lt;/ul&gt;<br>    `;<br>  }<br>}<br>customElements.define(&quot;bar-service&quot;, MyElement);</pre><p><strong>index.html</strong></p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html lang=&quot;en&quot;&gt;<br>&lt;head&gt;<br>    &lt;meta charset=&quot;UTF-8&quot;&gt;<br>    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;<br>    &lt;title&gt;Document&lt;/title&gt;<br>    &lt;script type=&quot;module&quot; src=&quot;my-element.js&quot;&gt;&lt;/script&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>    &lt;bar-service&gt;&lt;/bar-service&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><p><strong>Build and Publish to NPM</strong></p><pre>yarn build<br>npm publish</pre><h3><a href="https://www.upstamps.com/">What is UpStamps?</a></h3><p><a href="https://www.upstamps.com/">UpStamps</a> is a Feature Flag Management Platform to separate code from different environments and projects.</p><p>UpStamps helps teams manage their projects using feature management with a <strong>Central control</strong> to progressively deliver features to users with confidence.</p><p><a href="https://app.upstamps.com/">Sign Up for Free</a></p><p>🛳 Ship when you’re ready<br>🚀 Accelerate feature release<br>🙈 Hide unfinished features</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*rNfyKf9JV6co5vrD.png" /></figure><p>Useful links about UpStamps:</p><ul><li><a href="https://www.upstamps.com/">About</a></li><li><a href="https://docs.upstamps.com/">Documentation</a></li><li><a href="https://app.upstamps.com/">Start Testing in Production</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=172089831b70" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The State of RecoilJS]]></title>
            <link>https://medium.com/@vacom/the-state-of-recoiljs-23590361214f?source=rss-96b8320d871------2</link>
            <guid isPermaLink="false">https://medium.com/p/23590361214f</guid>
            <category><![CDATA[recoil]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[state-management]]></category>
            <dc:creator><![CDATA[Vitor Amaral]]></dc:creator>
            <pubDate>Mon, 18 May 2020 13:33:51 GMT</pubDate>
            <atom:updated>2020-05-18T13:33:51.839Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*KEaziwSM20m9k8KUq9qP3g.jpeg" /></figure><p>The core concept of Recoil is the data-flow where data travels from Atoms (shared state) through Selectors (pure functions) down into React components building your app.</p><p>React Components can subscribe to these atoms. The subscription can be used to get and set data from Atoms. Recoil works and thinks just like React providing a fast &amp; flexible shared state.</p><p>Advantages:</p><ul><li>Easy to set up and use</li><li>Supports asynchronous state management</li><li>State persistence</li><li>boilerplate-free API where the shared state has the same simple get/set interface as React local state;</li><li>Compatibility with Concurrent Mode and other new React features as they become available;</li><li>Code-splitting possibility thanks to incremental &amp; distributed state definition,</li><li>The state can be replaced without modifying the components that use it.</li><li>Derived data can move between being synchronous and asynchronous without modifying the components that use it.</li><li>Backward-compatibility of application state; persisted states can survive application changes.</li></ul><p>RecoilJS uses the Context API internally and it solves the problem of efficient render with shared state across components.</p><p>Recoil is built on React primitives, the benefits are clear: Cleaner and more compatible. It is like having useState on steroids. Recoil feels like its part of the React core facilitating the use of state or shared state in your components with less context boilerplate.</p><p>Learn more about Recoil:</p><ul><li><a href="https://egghead.io/playlists/up-and-running-with-recoil-a-new-state-management-library-for-react-78b8">Up and running with Recoil — a new state management library for React</a></li><li><a href="https://recoiljs.org/">Oficial Docs</a></li><li><a href="https://www.youtube.com/watch?v=_ISAA_Jt9kI">Recoil: State Management for Today’s React</a></li><li><a href="https://github.com/facebookexperimental/Recoil">RecoilJS Github</a></li><li><a href="https://dev.to/vacom/a-simple-counter-with-the-new-recoil-facebook-state-management-library-for-react-215k">A simple counter with the new Recoil</a></li></ul><h3><a href="https://www.upstamps.com/">What is UpStamps?</a></h3><p><a href="https://www.upstamps.com/">UpStamps</a> is a Feature Flag Management Platform to separate code from different environments and projects.</p><p>UpStamps helps teams manage their projects using feature management with a <strong>Central control</strong> to progressively deliver features to users with confidence.</p><p><a href="https://app.upstamps.com/">Sign Up for Free</a></p><p>🛳 Ship when you’re ready<br>🚀 Accelerate feature release<br>🙈 Hide unfinished features</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*wfdnG3vQ25-HjAzX.png" /></figure><p>Useful links about UpStamps:</p><ul><li><a href="https://www.upstamps.com/">About</a></li><li><a href="https://docs.upstamps.com/">Documentation</a></li><li><a href="https://app.upstamps.com/">Start Testing in Production</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23590361214f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recoil — Facebook State Management Library for React]]></title>
            <link>https://medium.com/@vacom/recoil-facebook-state-management-library-for-react-947c2501569a?source=rss-96b8320d871------2</link>
            <guid isPermaLink="false">https://medium.com/p/947c2501569a</guid>
            <category><![CDATA[recoil]]></category>
            <category><![CDATA[facebook]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[state-management]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Vitor Amaral]]></dc:creator>
            <pubDate>Sun, 17 May 2020 10:33:47 GMT</pubDate>
            <atom:updated>2020-05-17T10:33:47.093Z</atom:updated>
            <content:encoded><![CDATA[<h3>Recoil — Facebook State Management Library for React</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B7qf7lRoeEyKU6kE0qx2eg.png" /></figure><h3>What is RecoilJS?</h3><p><a href="https://recoiljs.org/">RecoilJS</a> is a state management library for React apps.</p><h4>Highlights</h4><ul><li>Thinks like React and flexible with shared state;</li><li>Pure functions and efficient subscriptions;</li><li>Comes with persistence, routing, time-travel debugging;</li></ul><h4>Concepts</h4><p><strong>Atoms</strong></p><p>Atoms are units of state and can be created at runtime. Atoms can be used in place of React local component state. If the same atom is used from multiple components, all those components share their state.</p><pre>const fontSizeState = atom({<br>  key: &#39;fontSizeState&#39;,<br>  default: 14,<br>});</pre><p><strong>Selectors</strong></p><p>A selector is a pure function that accepts atoms or other selectors as input. When these upstream atoms or selectors are updated, the selector function will be re-evaluated.</p><pre>const fontSizeLabelState = selector({<br>  key: &#39;fontSizeLabelState&#39;,<br>  get: ({get}) =&gt; {<br>    const fontSize = get(fontSizeState);<br>    const unit = &#39;px&#39;;</pre><pre>    return `${fontSize}${unit}`;<br>  },<br>});</pre><h3>The Counter is the new Hello World</h3><p>Yesterday I was trying out the new Facebook state library and I ended up making a Codesandbox with a simple counter trying out all the features.</p><p><strong>RecoilRoot</strong></p><p>It provides the context in which atoms have values. Must be an ancestor of any component that uses any Recoil hooks.</p><pre>import React from &quot;react&quot;;<br>import { RecoilRoot } from &quot;recoil&quot;;</pre><pre>export default function App() {<br>  return (<br>    &lt;RecoilRoot&gt;<br>      &lt;h1&gt;Recoil counter&lt;/h1&gt;<br>      &lt;Counter /&gt;<br>      &lt;CounterInfo /&gt;<br>    &lt;/RecoilRoot&gt;<br>  );<br>}</pre><p><strong>Atom</strong></p><p>Atoms need a unique key, which is used for debugging, persistence, and for certain advanced APIs that let you see a map of all atoms. It is an error for two atoms to have the same key, so make sure they’re globally unique. Like the React component state, they also have a default value.</p><pre>import { atom } from &quot;recoil&quot;;</pre><pre>const countState = atom({<br>  key: &quot;countState&quot;,<br>  default: 0<br>});</pre><p><strong>Selector</strong></p><p>Selectors are used to calculating derived data that is based on state. Since selectors keep track of what components need them and what state they depend on, they make this functional approach more efficient.</p><pre>import { selectoratom } from &quot;recoil&quot;;</pre><pre>const countNextState = selector({<br>  key: &quot;counterNextState&quot;,<br>  get: ({ get }) =&gt; {<br>    return get(countState) + 1;<br>  }<br>});</pre><p><strong>useRecoilState</strong></p><p>Returns a tuple where the first element is the value of state and the second element is a setter function that will update the value of the given state when called.</p><pre>import React from &quot;react&quot;;<br>import { useRecoilState } from &quot;recoil&quot;;</pre><pre>const Counter = () =&gt; {<br>  const [count, setCount] = useRecoilState(countState);<br>  return (<br>    &lt;div&gt;<br>      &lt;h2&gt;{count}&lt;/h2&gt;<br>      &lt;button onClick={() =&gt; setCount(count + 1)}&gt;Click me&lt;/button&gt;<br>    &lt;/div&gt;<br>  );<br>};</pre><p><strong>useRecoilValue</strong></p><p>Returns the value of the given Recoil state. This hook will implicitly subscribe to the component to the given state. This component shares the same atom making the count state global.</p><pre>import React from &quot;react&quot;;<br>import { useRecoilValue } from &quot;recoil&quot;;</pre><pre>const CounterInfo = () =&gt; {<br>  const count = useRecoilValue(countNextState);<br>  return &lt;p&gt;the next number is {count}&lt;/p&gt;;<br>};</pre><p><strong>Counter Demo using Recoil</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodesandbox.io%2Fembed%2Fb0ghg&amp;display_name=CodeSandbox&amp;url=https%3A%2F%2Fcodesandbox.io%2Fs%2Fb0ghg&amp;image=https%3A%2F%2Fcodesandbox.io%2Fapi%2Fv1%2Fsandboxes%2Fb0ghg%2Fscreenshot.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codesandbox" width="1000" height="500" frameborder="0" scrolling="no"><a href="https://medium.com/media/807f57c57a0a52b600536f30d7d51a60/href">https://medium.com/media/807f57c57a0a52b600536f30d7d51a60/href</a></iframe><h3><a href="https://www.upstamps.com/">What is UpStamps?</a></h3><p><a href="https://www.upstamps.com/">UpStamps</a> is a Feature Flag Management Platform to separate code from different environments and projects.</p><p>UpStamps helps teams manage their projects using feature management with a <strong>Central control</strong> to progressively deliver features to users with confidence.</p><p><a href="https://app.upstamps.com/">Sign Up for Free</a></p><p>🛳 Ship when you’re ready<br>🚀 Accelerate feature release<br>🙈 Hide unfinished features</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*o_TGtfDEzdCaNefr.png" /></figure><p>Useful links about UpStamps:</p><ul><li><a href="https://www.upstamps.com/">About</a></li><li><a href="https://docs.upstamps.com/">Documentation</a></li><li><a href="https://app.upstamps.com/">Start Testing in Production</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=947c2501569a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Feature Flags vs Branching]]></title>
            <link>https://medium.com/@vacom/feature-flags-vs-branching-5461e13f7c57?source=rss-96b8320d871------2</link>
            <guid isPermaLink="false">https://medium.com/p/5461e13f7c57</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[release-management]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Vitor Amaral]]></dc:creator>
            <pubDate>Fri, 15 May 2020 19:16:11 GMT</pubDate>
            <atom:updated>2020-05-15T19:16:11.261Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*Xk-noV-dv7-cPbS4lsaLDA.png" /></figure><p>Feature flagging allows developers to take full control of their feature lifecycles without depending on code deployments. When you merge a feature branch into master (production), it is already wrapped in a feature flag. This allows you to deploy the feature “off” and then gradually roll it out to users. It also allows you to quickly “kill” the feature if it is not working well, without having to redeploy.</p><p>Therefore, feature flagging does not replace branching, it is complementary and makes it more powerful. Feature branching provides the flexibility to decide when and what to release, while feature flagging lets you take full control of the release itself. Together, branching and flagging help you maintain and integrate short-lived branches faster and with less risk.</p><p>This allows many small incremental versions of software to be delivered without the cost of constant branching and merging.</p><h3><a href="https://www.upstamps.com/">What is UpStamps?</a></h3><p><a href="https://www.upstamps.com/">UpStamps</a> is a Feature Flag Management Platform to separate code from different environments and projects.</p><p>UpStamps helps teams manage their projects using feature management with a <strong>Central control</strong> to progressively deliver features to users with confidence.</p><p><a href="https://app.upstamps.com/">Sign Up for Free</a></p><p>🛳 Ship when you’re ready<br>🚀 Accelerate feature release<br>🙈 Hide unfinished features</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*CNjFY0-ns2P9Exv4.png" /></figure><p>Useful links about UpStamps:</p><ul><li><a href="https://www.upstamps.com/">About</a></li><li><a href="https://docs.upstamps.com/">Documentation</a></li><li><a href="https://app.upstamps.com/">Start Testing in Production</a></li></ul><p>Useful links about Feature Flags:</p><ul><li><a href="https://martinfowler.com/articles/feature-toggles.html">Feature Toggle by Martin Fowler</a></li><li><a href="https://featureflags.io/">The Hub for Feature Flag Driven Development</a></li><li><a href="https://en.wikipedia.org/wiki/Feature_toggle">Feature Toggle by Wikipedia</a>Feature Flags vs Branching</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5461e13f7c57" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to reduce debt during implementation]]></title>
            <link>https://medium.com/@vacom/how-to-reduce-debt-during-implementation-82d927b9a0f?source=rss-96b8320d871------2</link>
            <guid isPermaLink="false">https://medium.com/p/82d927b9a0f</guid>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Vitor Amaral]]></dc:creator>
            <pubDate>Thu, 14 May 2020 17:24:26 GMT</pubDate>
            <atom:updated>2020-05-14T17:24:26.401Z</atom:updated>
            <content:encoded><![CDATA[<h3>How Feature Flags helps reduce debt during implementation</h3><p>Feature Flags are essentially variables that are used inside conditional statements. Therefore, the blocks inside these conditional statements can be toggled ‘on or off’ depending on the value of the feature toggles. A block of code that has been toggled ‘off’ is similar to it being commented out. This allows developers to control the flow of their software and bypass features that are not ready for deployment.</p><p>The main usage of feature flags is to avoid conflict that can arise when merging changes in software at the last moment before release. Although this can lead to Flag debt. Flag debt arises due to the dead code present in software after a feature has been toggled on permanently and produces overhead. This portion of the code has to be removed carefully as to not disturb other parts of the code.</p><h3><a href="https://www.upstamps.com/">What is UpStamps?</a></h3><p><a href="https://www.upstamps.com/">UpStamps</a> is a Feature Flag Management Platform to separate code from different environments and projects.</p><p>UpStamps helps teams manage their projects using feature management with a <strong>Central control</strong> to progressively deliver features to users with confidence.</p><p><a href="https://app.upstamps.com/">Sign Up for Free</a></p><p>🛳 Ship when you’re ready<br>🚀 Accelerate feature release<br>🙈 Hide unfinished features</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*SYsdt6_aJa5xClJH.png" /></figure><p>Useful links about UpStamps:</p><ul><li><a href="https://www.upstamps.com/">About</a></li><li><a href="https://docs.upstamps.com/">Documentation</a></li><li><a href="https://app.upstamps.com/">Start Testing in Production</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82d927b9a0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>