<?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 Leonid Shvab on Medium]]></title>
        <description><![CDATA[Stories by Leonid Shvab on Medium]]></description>
        <link>https://medium.com/@leonidshvab1996?source=rss-700da7521b8e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kiu7U5eKBJMPAYBfbmCbNg.jpeg</url>
            <title>Stories by Leonid Shvab on Medium</title>
            <link>https://medium.com/@leonidshvab1996?source=rss-700da7521b8e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 04:12:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@leonidshvab1996/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[The trickiest bug I’ve ever fixed]]></title>
            <link>https://medium.com/front-end-weekly/the-trickiest-bug-ive-ever-fixed-97ed52e7fc56?source=rss-700da7521b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/97ed52e7fc56</guid>
            <category><![CDATA[virtual-scroll]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[vuejs]]></category>
            <dc:creator><![CDATA[Leonid Shvab]]></dc:creator>
            <pubDate>Sun, 22 Sep 2024 15:29:43 GMT</pubDate>
            <atom:updated>2024-09-30T19:50:13.217Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="The featured image for the article" src="https://cdn-images-1.medium.com/max/1024/1*URIOHyNWId57-SLGBaTpHQ.png" /><figcaption>The featured image for the article</figcaption></figure><p>In this publication, you will discover the bug with vue3-virtual-scroll-list. While scrolling, messages may disappear or cause the scroll to break on vue3-virtual-scroll-list.</p><blockquote><em>Plan<br>1. Introduction<br>2. Bug Description<br>3. Solution<br>4. Conclusion<br>5. Helpful Links</em></blockquote><h3><strong>1. Introduction</strong></h3><p>So, it is not a typical bug with business logic or UI that we are all used to working with. Also, if someone wants to test it, this problem is quite difficult to reproduce. At the very least, you need to choose the right browser version, Safari 17.6, and scroll the chat randomly.</p><p>I reproduced this bug on Open Source code. I will leave links to the bug example and the solution below so you can test it.</p><blockquote>The <strong>idea</strong> of the publication can be found in the conclusion.</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Ff%2F788447%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2F788447%2F&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/18214d8333adbb5668f31791a3202b60/href">https://medium.com/media/18214d8333adbb5668f31791a3202b60/href</a></iframe><h3><em>2. Bug Description</em></h3><p>In Safari Browser Version 17.6, while quickly scrolling up in the chat, messages may disappear, and the scroll can break. This doesn’t happen every time, but you can still catch this problem. <a href="https://github.com/LeonidShv/theTrickiestBug/tree/vue3-virtual-scroll-list">Github code with bug on chat</a>. <br>For my experiments, I took an Open Source repository and modified it a little for my needs. Below, I show a video of the caught bug.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FKT7oxuh1V94%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DKT7oxuh1V94&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FKT7oxuh1V94%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b5c87ae858c6941c1192b768168ef8cf/href">https://medium.com/media/b5c87ae858c6941c1192b768168ef8cf/href</a></iframe><h3><em>3. Solution</em></h3><p>I started searching for a solution to the problem with:</p><ol><li>Playing with reactivity. I added and updated keys, checked that the data I sent to the chat was reactive, and tried to update the reactive variable after updating the DOM. I tried many other things that had some effect on the display of messages, but this didn’t give any results.</li><li>I tried to understand the scroll logic. An interesting point is that if I added a small scroll after loading the data, it fixed the problem. However, this is not an optimal solution and would lead to new bugs.</li><li>I checked how optimally the library vue3-virtual-scroll-list is connected. I started comparing our code solution with the example from the library&#39;s documentation for creating a chat. In the end, I completely moved the example from the documentation into our project, but the bug remained.</li><li>Next, I started removing all unnecessary logic from the page to make sure that the code I moved from the documentation matched my code. At one point, the bug disappeared. It made me think that the module might have been connected incorrectly after all. But after a few experiments, I found that the v-overlay component from the Vuetify library in Safari Browser Version 17.6 causes constant and rare errors when working together with vue3-virtual-scroll-list.</li></ol><p>At this stage, I found many solutions. I decided to modify the existing v-overlay component and replaced pointer-events: auto;, which was causing the problem, with pointer-events: none;. Here is the commit for the solution on <a href="https://github.com/LeonidShv/theTrickiestBug/commit/9762639381be50d55410b66f25d8e417a7bb7a4a">Github</a>.</p><h3><em>Conclusion</em></h3><p>The problem was described that can occur at the intersection of technologies and browser versions. The problem can be noticed only when using &quot;vue3-virtual-scroll-list&quot;: &quot;0.2.1&quot;, &quot;vuetify&quot;: &quot;3.7.2&quot;, and Safari Browser 17.6. Each one works correctly alone, but together, under certain conditions, errors occur.</p><p>The v-overlay component was part of the loader (spinner). In v-overlay, there is a rule for pointer-events that can determine how to pass events below. In our case, when I set pointer-events: none; the v-overlay which covered the page with a gray background, started to pass the scroll event down to the vue3-virtual-scroll-list component.</p><blockquote>I also want to add that &quot;vue3-virtual-scroll-list&quot;: &quot;0.2.1&quot; is not a fully stable library, and sometimes messages may disappear for a moment. Additionally, the question of how the browser version affected these libraries is not completely clear.</blockquote><h3><em>Helpful Links</em></h3><ol><li><a href="https://github.com/LeonidShv/theTrickiestBug/tree/vue3-virtual-scroll-list">Example of code with a tricky bug</a></li><li><a href="https://github.com/LeonidShv/theTrickiestBug/tree/fix-tricky-bug">Example with solution for the discussed bug</a></li><li><a href="https://www.npmjs.com/package/vue3-virtual-scroll-list">vue3-virtual-scroll-list npm</a>.</li><li><a href="https://vue3-virtual-scroll-list-examples-xi.vercel.app/#/chat-room">Example of a chat from the documentation</a>.</li><li><a href="https://github.com/reactjser/vue3-virtual-scroll-list-examples/blob/main/src/views/chat-room/Main.vue">Original code of the chat room, provided by the documentation</a>.</li></ol><p>Contacts:<br>1) <a href="https://www.linkedin.com/in/leonid-shvab-a2a32b1a7/">Linkedin</a><br>2) <a href="https://github.com/LeonidShv">Github</a><br>3) <a href="https://leonid-shvab.web.app/">Landing page</a><br>4) Company: open to work : )</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97ed52e7fc56" width="1" height="1" alt=""><hr><p><a href="https://medium.com/front-end-weekly/the-trickiest-bug-ive-ever-fixed-97ed52e7fc56">The trickiest bug I’ve ever fixed</a> was originally published in <a href="https://medium.com/front-end-weekly">Frontend Weekly</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Practical Vue.js Interview Questions]]></title>
            <link>https://medium.com/front-end-weekly/practical-vue-js-interview-questions-2252b7050b9d?source=rss-700da7521b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/2252b7050b9d</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[vue]]></category>
            <dc:creator><![CDATA[Leonid Shvab]]></dc:creator>
            <pubDate>Sun, 07 Apr 2024 20:35:41 GMT</pubDate>
            <atom:updated>2024-08-08T13:18:05.659Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="The featured image for the article. Practical Vue.js questions" src="https://cdn-images-1.medium.com/max/956/1*OHao9lf9a63WmkifUTYHGw.png" /><figcaption>The featured image for the article</figcaption></figure><p>Practical questions for the technical interview for a middle Vue.js developer, responsible for developing complex web applications such as admin panels or other intricate systems. These questions can also be adapted to other frameworks.</p><p>The last time, I participated in various technical interviews and had the opportunity to reflect on this process. I collected different interesting questions that could help in hiring an appropriate developer for developing complex web applications. On the other hand, it is an opportunity for developers to reflect on your experience before going to an interview.</p><blockquote>There are many lists of theoretical questions available on the internet for interviews, so I’ve prepared a list of practical questions for inspiration. I want to note that it is not a tutorial for the technical interview.</blockquote><p>Questions:</p><p><strong>Сommunication with the backend</strong></p><p>1. What are the differences between various types of communication with the backend?<br>2. Describe which tools do you use to test requests to the server?<br>3. How to handle errors returned by the backend in one place by Axios? What features does Axios provide?<br>4. How to manage CORS during development?</p><p><strong>Ready-made tools and libraries</strong></p><p>1. What popular Vue libraries do you know?<br>2. What are the advantages and disadvantages of using ready-made UI components?<br>3. What is the tree shaking?<br>4. How can the same components be reused across different admin apps?</p><blockquote>Here, the developer can demonstrate an interest in architecture as well as describe problems they may have faced in the past. Also these questions help demonstrate experience working with various modern tools that can optimize and make development more stable.</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Ff%2F788447%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2F788447%2F&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/18214d8333adbb5668f31791a3202b60/href">https://medium.com/media/18214d8333adbb5668f31791a3202b60/href</a></iframe><p><strong>Architecture, programming principles</strong></p><p>1. What are SOLID, DRY, WET, YAGNI, KISS?<br>2. What is modular monolith?<br>3. Why is it necessary to move UI library components into a separate folder and create a separate layer for them when integrating a UI library?<br>4. It often happens that a developer needs to add new functionality, and there may be slight differences in components compared to existing ones. What can be done in such situations? And what are the known ways to extend components?<br>5. In applications, some of the logic is moved to the store, helpers, mixins, or composables, while some remains in the components themselves. How do you determine a correct layer(store, mixins…) for the logic?</p><blockquote>These are common fundamental principles that developers constantly encounter when developing or extending functionality.</blockquote><p><strong>Common problems</strong></p><p>1. There is could small inaccuracies in designs on Figma. What can you pay attention to before starting work on designs?<br>2. When adding multiple languages to a website, various problems may appear. Describe these problems and how they can be managed?</p><p><strong>Common solutions</strong></p><p>1. What are the ways to execute Vue methods in a JavaScript file? For example, we have added error handling for Axios and now need to display notifications from Element-plus about errors (in regular JavaScript files, Vue method calls do not work).</p><blockquote>This is also a usual task for a developer to interact with the Vue framework in JavaScript files, like store or other.</blockquote><p>2. How to implement the authentication page?</p><blockquote>Here, developers can share their opinions on working with guards, tokens, and possibly add a few words about validation.</blockquote><p>3. How to delay search requests until the entire phrase is typed instead of sending them with each keystroke?<br>4. How to effectively <a href="https://medium.com/@leonidshvab1996/reusable-input-component-vue-3-c8778c1e3106">reuse input components</a> and bind input data?<br>5.How would you implement a page with internal navigation?</p><blockquote>It demonstrates an understanding of routing.</blockquote><p>6. What is lazy loading, how to implement it?<br>7. How to implement font-size scaling for the whole application?<br>8. How to implement light/dark mode for the web app?</p><p><strong>Vue.js</strong></p><p>1.How can you debug a Vue application?<br>2. How to force re-render the Vue component?<br>3. What is the difference between v-if and v-show?<br>4. What is the difference between method and computed?<br>5. How to use Vue3 to display an element not according to the hierarchy of components, but in another place of the DOM tree?</p><p><strong>General information</strong></p><p>1. What is the difference between SPA, SSR, and SSG? <br>2. What kind of web architectures (SPA, SSR, SSG) do you choose for effective promotion on Google and secure key storage?<br>3. What tools do you know for testing website optimization?<br>4. How to optimize the website?<br>5. What is semantic and valid markup? What is it needed for?<br>6. What mutable array methods exist?</p><blockquote>It helps to better understanding how you can work with Vue reactivity.</blockquote><p>7. What tools help ensure consistent code formatting for the entire team? <br>8. What is GitFlow? Describe your typical process for working with Git.<br>9. How can you cancel the last commit? What is squash and merge in a pull request?</p><blockquote>It is a basic knowledge about Git and teamwork.</blockquote><p>10. What is the difference between normalize CSS and reset CSS?<br>11. What CSS properties can be animated, and which ones cannot, and why?<br>12. How to debug an application in production using cloud storage tools (e.g., AWS console)?<br>13. How to check a web application for cross-browser compatibility and cross-platform compatibility?<br>14. What are the ways to improve cross-browser compatibility?</p><p>Highlight the most interesting questions for you. Or share something in comments. In the future, you might encounter your favorite question : )</p><p>Contacts:<br>1) <a href="https://www.linkedin.com/in/leonid-shvab-a2a32b1a7/">Linkedin</a><br>2) <a href="https://github.com/LeonidShv">Github</a><br>3) <a href="https://leonid-shvab.web.app/">Landing page</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2252b7050b9d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/front-end-weekly/practical-vue-js-interview-questions-2252b7050b9d">Practical Vue.js Interview Questions</a> was originally published in <a href="https://medium.com/front-end-weekly">Frontend Weekly</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reusable input component Vue 3]]></title>
            <link>https://medium.com/@leonidshvab1996/reusable-input-component-vue-3-c8778c1e3106?source=rss-700da7521b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8778c1e3106</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[vue]]></category>
            <category><![CDATA[vuejs]]></category>
            <dc:creator><![CDATA[Leonid Shvab]]></dc:creator>
            <pubDate>Sat, 10 Feb 2024 18:19:11 GMT</pubDate>
            <atom:updated>2024-04-25T12:37:50.349Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="The featured image for the article, Vue logo" src="https://cdn-images-1.medium.com/max/784/1*uEhpfSWKMuri9rctndNnrQ.png" /><figcaption>The featured image for the article</figcaption></figure><p>A short tutorial on how to use v-model in a reusable input component with <strong>defineModel</strong>. There are two examples of input bindings using v-model with native HTML input and input from Element-plus.</p><p>Plan:<br>1. Theory about v-model.<br>2. Examples.<br>3. Useful links.</p><h3>1. Theory about v-model and d<strong>efineModel</strong></h3><p>v-model implements a two-way binding with inputs. And with Vue 3.4 we can create reusable inputs in a more convenient way. <strong>DefineModel</strong> is a shorthand for using prop and emit. defineModel return a reactive ref value.</p><p>Custom input component with v-model under the hood, without defineModel<strong> </strong>(approach before Vue 3.4)</p><pre>&lt;script setup&gt;<br>const props = defineProps([&#39;modelValue&#39;])<br>const emit = defineEmits([&#39;update:modelValue&#39;])<br>&lt;/script&gt;<br><br>&lt;template&gt;<br>  &lt;input<br>    :value=&quot;props.modelValue&quot;<br>    @input=&quot;emit(&#39;update:modelValue&#39;, $event.target.value)&quot;<br>  /&gt;<br>&lt;/template&gt;</pre><h3>2. Examples</h3><p>2.1. Custom input component with v-model with native HTML using defineModel.</p><blockquote>defineModel is recommended approach in Vue 3.4<br><em>defineModel</em> is a compiler macro, we don’t need to import it. (c) Readers</blockquote><pre>// How to define the component (native HTML) <br>// components/VInput.vue<br>&lt;script setup&gt;<br>const model = defineModel()<br>&lt;/script&gt;<br><br>&lt;template&gt;<br>  &lt;input v-model=&quot;model&quot; /&gt;<br>&lt;/template&gt;</pre><pre>// How to use the component (native HTML)<br>// App.vue<br>&lt;VInput v-model=&quot;userName&quot; /&gt;</pre><p>2.2. Input bindings using v-model with Element-plus</p><p>It is the same implementation but for UI library (Element-Plus) check it out.</p><pre>// How to define the component (UI library, Element-plus)<br>// components/VInput.vue<br>&lt;script setup&gt;<br>const model = defineModel()<br>&lt;/script&gt;<br><br>&lt;template&gt;<br>  &lt;el-input v-model=&quot;model&quot; placeholder=&quot;Please input&quot; /&gt;<br>&lt;/template&gt;</pre><pre>// How to use the component, (UI library, Element-plus)<br>// App.vue<br>&lt;VInput v-model=&quot;userName&quot; /&gt;</pre><p>I didn’t check this approach for other popular UI libraries, but it should be the same implementation.</p><h3><strong>3. Useful links</strong></h3><ol><li><a href="https://vuejs.org/guide/components/v-model.html">Component v-model (documentation</a>)</li><li><a href="https://medium.com/front-end-weekly/insights-and-trends-in-vue-js-from-evan-you-2024-695ed1feef5d">Trends in Vue.js from Evan You 2024</a></li></ol><p>Contacts:<br>1) <a href="https://www.linkedin.com/in/leonid-shvab-a2a32b1a7/">Linkedin</a><br>2) <a href="https://github.com/LeonidShv">Github</a><br>3) <a href="https://leonid-shvab.web.app/">Landing page</a><br>4) Company: open to work : )</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8778c1e3106" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Insights and Trends in Vue.js from Evan You 2024]]></title>
            <link>https://medium.com/front-end-weekly/insights-and-trends-in-vue-js-from-evan-you-2024-695ed1feef5d?source=rss-700da7521b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/695ed1feef5d</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[vue]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Leonid Shvab]]></dc:creator>
            <pubDate>Thu, 25 Jan 2024 15:07:36 GMT</pubDate>
            <atom:updated>2024-04-25T12:38:09.113Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Text here: vue.js 2024 trends and short plan to the article" src="https://cdn-images-1.medium.com/max/1024/0*voaRkWPa3iKwi1of" /><figcaption>The featured image for the article</figcaption></figure><p>In this publication, you will discover insights shared by Evan You during the Vuejs Nation 2024 conference, focusing on the Vue ecosystem.</p><blockquote>Plan<br>1. Introduction<br>2. Q&amp;A Session with Evan You<br>3. Conclusion<br>4. Helpful Links</blockquote><ol><li><strong>Introduction</strong></li></ol><p>In this publication, you will delve into general insights on the following topics: the influence of Vite 5 on Vue, macros, vapor mode, prevalent misconceptions, <strong>new features or functionalities</strong>, support for the Option API in future versions, VitePress, and more.</p><p><strong>2. Q&amp;A Session with Evan You</strong></p><p><strong>2.1. How does Vite 5 improve Vue performance?</strong></p><p>The work done in Vite to improve performance is often specific to Vite itself. However, anyone using Vite gets the same benefits.</p><blockquote>Additionally, an important detail is mentioned: users are advised to update to the latest version of “vitejs/plugin-vue” to take advantage of all the benefits of Vue 3.4. This update can enhance the build performance of your project.</blockquote><p><strong>2.2. Are we expecting any further Vue.js macros added to the Vue core functionality?</strong></p><p>The Vue.js team exercises great caution when considering the integration of new macros into the Vue core. Currently, there are no plans to introduce new macros into Vue.</p><blockquote>Macros are conceptual proposals or ideas that have not yet been officially incorporated into Vue. These proposals aim to explore and extend additional features and syntactic sugar for Vue.</blockquote><p><strong>2.3. What is the latest on Vue’s vapor mode?</strong></p><p>The initial runtime implementation and a substantial part of the compiler have been completed. As a result, a functional playground has been established, although it remains a work in progress.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Ff%2F788447%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2F788447%2F&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/18214d8333adbb5668f31791a3202b60/href">https://medium.com/media/18214d8333adbb5668f31791a3202b60/href</a></iframe><p>No intricate migrations or preparatory measures for usage are entailed by this mode. With this technology, the Vapor mode can be activated for specific components that necessitate optimization.</p><blockquote>Vapor mode using for development of a non-virtual DOM mode for performance improvement</blockquote><p><strong>2.4. What do you think are the biggest misconceptions people have about Vue.js?</strong></p><p>Popular misconceptions include poor support for JSX and TypeScript, as well as the belief that Vue is only suitable for simple applications. But more and more large and well-known brands are beginning to use Vue for extensive web applications.</p><p><strong>2.5. What exciting new features or functionalities can we expect to see future version of Vue.js?</strong></p><p>Vapor mode is the most significant innovation currently being developed in the Vue ecosystem.</p><p>Additionally, there have been improvements to the Vue core, including:</p><ul><li>Refactoring of the reactivity system.</li><li>Faster parser and enhanced Single File Component (SFC) build performance.</li><li>Stabilization of <a href="https://medium.com/@leonidshvab1996/reusable-input-component-vue-3-c8778c1e3106">defineModel</a>.</li><li>Same-name shorthand for v-bind:</li></ul><pre>&lt;img :id :src :alt&gt;</pre><ul><li>Improved handling of Hydration Mismatch Errors.</li></ul><p><strong>2.6. Is the removal of the Option API planned in future versions of Vue?</strong></p><p>There are no plans to remove the option API in the future, as maintaining both approaches — Composition API and Option API — is very manageable.</p><p><strong>2.7. Will Vue 3 continue support Webpack or will totally move to Vite?</strong></p><p>Vue does not plan to abandon Webpack in the near future; support will be provided for both Webpack and Vite.</p><p><strong>2.8. Other</strong></p><p>The release of the stable version of the <strong>suspense component</strong> is planned.</p><p>Reason why <a href="https://medium.com/@leonidshvab1996/reusable-input-component-vue-3-c8778c1e3106"><strong>defineModel</strong></a> can&#39;t be deeply reactive for objects and arrays: Directly modifying props is not recommended due to additional tracking implications. In such scenarios, deep reactivity becomes unnecessary, leading to the return of a new object each time.</p><pre>&lt;script setup&gt;<br>  const modelValue = defineModel()<br>  console.log(modelValue.value)<br>&lt;/script&gt;<br><br>&lt;template&gt;<br>  &lt;input v-model=&quot;modelValue&quot; /&gt;<br>&lt;/template&gt;</pre><p><strong>VitePress release is eagerly anticipated</strong>.</p><blockquote><strong>VitePress</strong> is a Static Site Generator (SSG) crafted for building swift and content-centric websites. Ideal for documentation, blogs, portfolios, and marketing sites.</blockquote><blockquote>Providing a more lightweight alternative to Nuxt.js, it brings efficiency to web development.</blockquote><p><strong>3. Conclusion</strong></p><p>The Vue ecosystem and the framework itself continue to undergo active development, focusing on improving performance, reactivity, and advancing the non-virtual DOM mode. It is important to note that Vue remains highly flexible, supporting both the Option API and the Composition API, and ensuring compatibility with popular bundlers such as Webpack and Vite. Significant progress is evident in the stable releases of new features like <a href="https://medium.com/@leonidshvab1996/reusable-input-component-vue-3-c8778c1e3106">defineModel</a> and shorthand for v-bind. All these factors attest to the dynamism and promising future of Vue in the present and beyond.</p><p><strong>4. Helpful Links</strong></p><p><a href="https://vuejsnation.com/">1) Vuejsnation conference</a><br>2) P<a href="https://github.com/nuxt/awesome?tab=readme-ov-file#projects-using-nuxt">rojects-using-nuxt</a><br>3) <a href="https://github.com/vuejs/core-vapor">Vapor mode</a><br>4) <a href="https://vue-macros.dev/guide/getting-started.html">Vue-macros</a><br>5) <a href="https://vueschool.io/">VueSchool</a><br>6) <a href="https://javascript.plainenglish.io/how-to-use-graphql-in-vue3-with-the-apollo-client-79b1c1fda69d">GraphQL in Vue3 with the Apollo Client</a><br>7) <a href="https://blog.stackademic.com/how-hmac-works-step-by-step-explanation-with-examples-f4aff5efb40e">HMAC (security)</a></p><p>Contacts:<br>1) <a href="https://www.linkedin.com/in/leonid-shvab-a2a32b1a7/">Linkedin</a><br>2) <a href="https://github.com/LeonidShv">Github</a><br>3) <a href="https://leonid-shvab.web.app/">Landing page</a><br>4) Company: open to work : )</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=695ed1feef5d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/front-end-weekly/insights-and-trends-in-vue-js-from-evan-you-2024-695ed1feef5d">Insights and Trends in Vue.js from Evan You 2024</a> was originally published in <a href="https://medium.com/front-end-weekly">Frontend Weekly</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Front-End Development?]]></title>
            <link>https://blog.stackademic.com/what-is-front-end-developer-in-2023-8edd667fd3e3?source=rss-700da7521b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8edd667fd3e3</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[front-end-developer]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[interesting]]></category>
            <category><![CDATA[students]]></category>
            <dc:creator><![CDATA[Leonid Shvab]]></dc:creator>
            <pubDate>Wed, 16 Aug 2023 06:25:19 GMT</pubDate>
            <atom:updated>2024-12-18T11:06:29.883Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Front-End Development</h3><h4>Front-end development</h4><figure><img alt="Featured image, front-end developer" src="https://cdn-images-1.medium.com/max/1024/1*DljTSspl-T31qOvgkiXOxQ.jpeg" /><figcaption>Featured image from <a href="https://www.vecteezy.com/">https://www.vecteezy.com/</a></figcaption></figure><blockquote>Plan:<br>1. About front-end in general.<br>2. Overview of skills and technologies.<br>3. Useful links.</blockquote><h3>1. About front-end in general</h3><p>Front-end development has become increasingly complex and intriguing over the years. It no longer solely revolves around creating simple websites for local businesses. Instead, it encompasses a wide array of interfaces, including animated websites (such as captivating landing pages), web applications (akin to LinkedIn or Duolingo), mobile apps (found in App Store or Google Play), and even desktop applications. Moreover, front-end developers are instrumental in crafting browser extensions and other innovative solutions.</p><p>When discussing websites (including landing pages) and web applications, they too exhibit distinct structures and utilize diverse technologies in specific contexts. While HTML/CSS and JavaScript serve as the foundational elements, the crux lies in the nuances. To realize various types of web applications, differing approaches and technologies are employed, highlighting the importance of tailored methods for different implementations.</p><p>For instance, when developing landing pages, it’s often crucial to master intricate animations and integrate sites with content management systems (CMS). There isn’t usually a substantial amount of time allocated for creating landing pages.</p><p>On the other hand, for the realization of web applications, admin panels, and banking systems, skills related to animation or CMS become considerably less important. The development of such systems can extend over years and involve teams of developers numbering in the hundreds.</p><p>As we can see, not only programming is divided into various branches, but the front-end itself has multiple directions, which makes it even more intriguing for in-depth study.</p><h3>2. Overview of skills and technologies</h3><p>What a front-end developer needs to know to develop web applications. Certainly, it all begins with JavaScript, HTML, CSS, and one of the popular frameworks (Vue.js, React.js, Angular.js) — these technologies form the foundation of developing any interface.</p><p>Similarly, it won’t be possible to build a web application without interacting with the backend. To achieve this, it’s important to understand various types of communication with the backend, such as REST API, GraphQL, and Websockets.</p><p>Additionally, for the development of large-scale systems, it is also important to have a grasp of fundamental patterns and application architecture. This knowledge and experience are crucial for working on extensive, long-term projects, as even high-quality architecture becomes progressively more challenging to develop and maintain over time.</p><p>Soft skills are also incredibly important. Even a simple application contains an immense amount of business logic, various implementation possibilities, and in some cases, a 10-minute conversation can replace a 2-hour research session. A team that shares knowledge and operates cohesively will always outperform a group of top specialists who feel difficult to collaborate effectively.</p><p>Stepping away from philosophical questions and returning to technology, it’s also crucial for a front-end developer to be familiar with ready-made solutions. For instance, tools like Vuetify, Quasar, Element Plus, and Tailwind significantly accelerate, streamline, and enhance the quality of development.</p><p>Furthermore, it’s important to be able to enhance the reliability and fault tolerance of your application. In this regard, TypeScript and various types of automated testing are highly beneficial.</p><p>Also, it’s important not to forget about optimization, as it directly affects the quality of the application itself, server expenses, and Google rankings.</p><p>Furthermore, understanding how to split an application into micro frontends and develop your own modules and libraries is essential. This facilitates team scalability and the creation of new projects based on existing components.</p><p>Another equally important point is the ability to work with different web architectures (SPA, SSR, SSG). This enables you to choose the right tools for specific tasks.</p><p>Also, it’s important not to forget about the basics of web security, as even now, one can find keys and tokens publicly accessible on many websites.</p><p>The list can go on, but in my opinion, these are the fundamental technologies and directions that will truly enable you to become a strong front-end developer.</p><p>Summing it up, here’s the list of technologies and skills:<br>1. JavaScript.<br>2. HTML/CSS.<br>3. Vue.js or React.js or Angular.js.<br>4. Backend interaction using REST API, Websockets, <a href="https://medium.com/javascript-in-plain-english/how-to-use-graphql-in-vue3-with-the-apollo-client-79b1c1fda69d">GraphQL</a>.<br>5. Basic patterns and application architectures.<br>6. Soft Skils.<br>7. Various ready-made solutions (PrimeVue, Vuetify, Quasar, Element Plus, Tailwind, etc.).<br>8. Typescript.<br>9. Automated testing.<br>10. Micro frontends, custom modules, libraries.<br>11. Optimization.<br>12. Web architecture (SPA, SSR, SSG).<br>13. Basics of web security.</p><p>If you believe I’ve missed any important skill, please write about it in the comments. I’d be happy to hear or learn something new! : )</p><h3>3. Useful links:</h3><ol><li><a href="https://roadmap.sh/frontend">Full Front-End Roadmap</a></li></ol><p><em>Thank you for reading until the end. Please consider following the writer and this publication. Visit </em><a href="https://stackademic.com/"><strong><em>Stackademic</em></strong></a><em> to find out more about how we are democratizing free programming education around the world.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8edd667fd3e3" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/what-is-front-end-developer-in-2023-8edd667fd3e3">What is Front-End Development?</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to use GraphQL in Vue3 with the Apollo Client]]></title>
            <link>https://javascript.plainenglish.io/how-to-use-graphql-in-vue3-with-the-apollo-client-79b1c1fda69d?source=rss-700da7521b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/79b1c1fda69d</guid>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[vue-3]]></category>
            <category><![CDATA[vue]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Leonid Shvab]]></dc:creator>
            <pubDate>Tue, 08 Aug 2023 16:54:56 GMT</pubDate>
            <atom:updated>2024-04-25T12:38:38.197Z</atom:updated>
            <content:encoded><![CDATA[<h4>Integrate GrapghQL with Vue3 using the Vue-apollo library (Composition API).</h4><figure><img alt="The featured image for the article. How to use GraphQL in Vue3 with the Apollo Client" src="https://cdn-images-1.medium.com/max/1008/1*kr5_cRWF6IYkTn2egA40uw.png" /><figcaption>The featured image for the article</figcaption></figure><blockquote>Plan:<br>1. What is a GraphQL or Apollo client?<br>2. Practice part.<br>2.1. Set up the Apollo-client (composition API).<br>2.2. Look into the free GraphQL API.<br>2.3. How to get data from a GraphQL server (queries).<br>2.4. How to send data to a GraphQL server (mutations).<br>2.5. Fetch Policy.<br>2.6. How to open the channel between client and server (subscriptions).<br>3. Useful links and an example on GitHub.</blockquote><h3>1. What is GraphQL or Apollo Client?</h3><p>GraphQL is a query language for APIs, it provides one of the options to communicate between back-end and front-end. <br>One of the advantages of GraphQL is the optimization of data transfer from server to client. So this technology allows receiving only necessary data. One of the disadvantages is the complexity and cost of implementation.<br>And one interesting fact: when you work with GraphQL, you send all requests to one endpoint but with different options via the POST method.</p><p>Apollo Client is a popular library for working with GraphQL. It provides more convenient tools for working with GraphQL.</p><figure><img alt="Weekly Apollo Client download statistics via npm. Almost, 2900 0000 downloads in week" src="https://cdn-images-1.medium.com/max/1024/1*6t4-kzYWWxljsQnbqsNLOg.png" /><figcaption>Weekly Apollo Client download statistics via npm</figcaption></figure><h3>2. Practice part</h3><p>2.1. Set up the Apollo-client (composition API)</p><p>Firstly, you need to install the necessary basic packages.</p><pre>npm install --save graphql graphql-tag @apollo/client<br><br>// or<br><br>yarn add graphql graphql-tag @apollo/client</pre><p>Then you need to install a package for working with the composition API approach.</p><pre>npm install --save @vue/apollo-composable<br><br>// or<br><br>yarn add @vue/apollo-composable</pre><p>For option API, you need to choose another one [<a href="https://v4.apollo.vuejs.org/guide-option/setup.html#_1-install-vue-apollo-option">vue-apollo-option</a>].</p><p>Back to work with composition API. Then you need to set up Apollo in your main.js.</p><pre>// main.js<br>import App from &#39;./App.vue&#39;<br><br>import { ApolloClient, createHttpLink, InMemoryCache } from &#39;@apollo/client/core&#39;<br>import { DefaultApolloClient } from &#39;@vue/apollo-composable&#39;<br><br>const httpLink = createHttpLink({<br>    uri: &#39;https://spacex-production.up.railway.app/&#39;,<br>})<br><br>const cache = new InMemoryCache()<br><br>const apolloClient = new ApolloClient({<br>    link: httpLink,<br>    cache,<br>})<br><br>const app = createApp({<br>    setup() {<br>        provide(DefaultApolloClient, apolloClient)<br>    },<br><br>    render: () =&gt; h(App),<br>})<br><br>app.mount(&#39;#app&#39;)</pre><p>2.2. Look through the free GraphQL API</p><p><a href="https://studio.apollographql.com/public/SpaceX-pxxbxen/variant/current/home">Free SpaceX graphQL API — documentation</a> <br><a href="https://studio.apollographql.com/public/SpaceX-pxxbxen/variant/current/explorer">Free SpaceX graphQL API — playground</a></p><p>It will help you better understand the syntax of GraphQL queries and what requests from this article will do.</p><figure><img alt="Free SpaceX graphQL API example — playground. gif file that shows the playground for working with the api" src="https://cdn-images-1.medium.com/max/800/1*dPdSnQkMMw5cwvwqLTfDJQ.gif" /><figcaption>Free SpaceX graphQL API example — playground</figcaption></figure><p>2.3. How to get data from the GraphQL server (queries)</p><p>Queries are used to get data from the server.</p><pre>&lt;template&gt;<br>  &lt;p v-show=&quot;loading&quot;&gt;Loading..&lt;/p&gt;<br><br>  &lt;p v-if=&quot;result&quot;&gt;result: {{ result }}&lt;/p&gt;<br>  &lt;p v-else-if=&quot;error&quot;&gt;error: {{ error }}&lt;/p&gt;<br>&lt;/template&gt;<br><br>&lt;script setup&gt;<br>import gql from &quot;graphql-tag&quot;<br>import { useQuery } from &quot;@vue/apollo-composable&quot;<br><br>const QUERY_COMPANY_INFO = gql`<br>  query Company {<br>    company {<br>      founded<br>      founder<br>      name<br>      summary<br>    }<br>  }<br>`<br><br>const { result, loading, error } = useQuery(QUERY_COMPANY_INFO)<br>&lt;/script&gt;</pre><p>useQuery is a composition function for executing <strong>queries</strong>. It returns some properties and methods: <strong>result, loading, error</strong>, variables, networkStatus, document, fetchMore, onError…<br>gql is an operation for defining GraphQL queries, mutations, and subscriptions. <br>Inside gql is a query from the <a href="https://studio.apollographql.com/public/SpaceX-pxxbxen/variant/current/explorer">Free SpaceX graphQL API — playground</a>.</p><p>Also, you can send some parameters (variables) in a request to the server, for instance, if you need to get the exact user.</p><pre>const { result, loading, error } = useQuery(QUERY_USER, { id: &#39;120321&#39; })</pre><p>Also, you can use your custom variable name instead of result.</p><pre>const { result: user } = useQuery(QUERY_USER, { id: &#39;120321&#39; })</pre><p>2.4. How to send data to the GraphQL server (mutations)</p><p>Let’s study how to update data on the server using mutations.</p><pre>&lt;template&gt;<br>  &lt;button @click=&quot;mutate&quot;&gt;<br>    Send message<br>  &lt;/button&gt;<br>&lt;/template&gt;<br><br>&lt;script setup&gt;<br>import gql from &quot;graphql-tag&quot;<br>import { useMutation } from &quot;@vue/apollo-composable&quot;<br><br>const MUTATE_INSERT_USERS = gql`<br>  mutation Mutation($objects: [users_insert_input!]!) {<br>  insert_users(objects: $objects) {<br>    affected_rows<br>    returning {<br>      id<br>      name<br>      timestamp<br>    }<br>  }<br>}<br>`<br><br>const { mutate } = useMutation(<br>  MUTATE_INSERT_USERS, <br>  { variables: necessaryData }<br>)<br>&lt;/script&gt;</pre><p>useMutation is a composition function for executing <strong>mutations</strong>. It returns some properties and methods: <strong>mutate, loading, error, </strong>called, onDone, onError.</p><blockquote>gql is an operation for defining GraphQL queries, mutations, subscriptions. <br>Inside gql is a query from the <a href="https://studio.apollographql.com/public/SpaceX-pxxbxen/variant/current/explorer">Free SpaceX graphQL API — playground</a>.</blockquote><p>2.5. Fetch Policy [example from <a href="https://v4.apollo.vuejs.org/guide-composable/query.html#fetch-policy">documentation</a>]</p><ul><li>cache-first (default): return result from cache(if it exists). Only fetch from network if cached result is empty[can be skipped].</li><li>cache-and-network: return result from cache first (if it exists), then return from network[both steps].</li><li>cache-only: return result from cache (if it exists), fail otherwise.</li><li>network-only: return result from network, save to cache.</li><li>no-cache: return result from network, don&#39;t save to cache.</li></ul><p>We can pass options with Fetch Policy to useQuery as the 3rd parameter but variables as the 2nd parameter.</p><pre>const { result } = useQuery(<br>  QUERY_COMPANY_INFO, <br>  { ...variables },<br>  {<br>    fetchPolicy: &#39;network-only&#39;,<br>  }<br>)</pre><p>We can pass options with fetchPolicy and variables to useMutation as the 2nd parameter</p><pre>const { result } = useMutation(<br>  MUTATE_INSERT_USERS, <br>  {<br>    fetchPolicy: &#39;no-cache&#39;,<br>    variables: necessaryData,<br>  }<br>)</pre><p>2.6. How to open the channel between client and server (subscriptions)</p><p>Subscription is an analog of WebSocket.<br>Subscriptions provide us with the opportunity to open a channel between the client and server and transfer data between them in real-time.</p><p>The subscription needs additional configuration, <a href="https://v4.apollo.vuejs.org/guide-composable/subscription.html#the-new-library-graphql-ws">see the documentation</a>.</p><pre>const variables = reactive({<br>  channelId: &quot;abc&quot;<br>})<br><br>const { result } = useSubscription(<br>  gql`<br>    subscription onMessageAdded($channelId: ID!) {<br>      messageAdded(channelId: $channelId) {<br>        id<br>        text<br>      }<br>    }<br>  `,<br>  variables,<br>  () =&gt; ({<br>    fetchPolicy: &quot;no-cache&quot;<br>  })<br>)</pre><p>The syntax is very similar to useQuery</p><h3>3. Useful links and an example on GitHub</h3><p>3.1. <a href="https://github.com/LeonidShv/vue3-graphql">Short example on Github</a><br>3.2. <a href="https://studio.apollographql.com/public/SpaceX-pxxbxen/variant/current/explorer">API for this article</a><br>3.3. Install the basic <a href="https://v4.apollo.vuejs.org/guide/installation.html">vue apollo client</a> for vue3.<br>3.4. Prepare for working with the option API <a href="https://v4.apollo.vuejs.org/guide-option/setup.html">vue/apollo-option</a>.<br>3.5. Prepare for working with the composition API <a href="https://v4.apollo.vuejs.org/guide-composable/setup.html">vue/apollo-composable</a>.<br>3.6. <a href="https://graphql.org/">GraphQL in general</a>.<br>3.7. <a href="https://www.apollographql.com/blog/community/backend/8-free-to-use-graphql-apis-for-your-projects-and-demos/">Free GraphQL APIs</a>.<br>3.8. <a href="https://medium.com/p/665ed29a993d#5929-1de310490d77">Integrate graphQL with Vue (option api)</a></p><p>Home task: fork and clone the <a href="https://github.com/LeonidShv/vue3-graphql">project</a>, make a new git branch, try to get a list of dragons, then, by clicking on an item of the list, get all information about the dragon by ID, and show the modal with information about this dragon. Make a pull request and add PR to the comments.</p><h3>In Plain English</h3><p><em>Thank you for being a part of our community! Before you go:</em></p><ul><li><em>Be sure to </em><strong><em>clap</em></strong><em> and </em><strong><em>follow</em></strong><em> the writer! 👏</em></li><li><em>You can find even more content at </em><a href="https://plainenglish.io/"><strong><em>PlainEnglish.io</em></strong></a><strong><em> 🚀</em></strong></li><li><em>Sign up for our </em><a href="http://newsletter.plainenglish.io/"><strong><em>free weekly newsletter</em></strong></a><em>. 🗞️</em></li><li><em>Follow us on </em><a href="https://twitter.com/inPlainEngHQ"><strong><em>Twitter</em></strong></a>, <a href="https://www.linkedin.com/company/inplainenglish/"><strong><em>LinkedIn</em></strong></a>, <a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><strong><em>YouTube</em></strong></a>, and <a href="https://discord.gg/GtDtUAvyhW"><strong><em>Discord</em></strong></a><strong><em>.</em></strong></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79b1c1fda69d" width="1" height="1" alt=""><hr><p><a href="https://javascript.plainenglish.io/how-to-use-graphql-in-vue3-with-the-apollo-client-79b1c1fda69d">How to use GraphQL in Vue3 with the Apollo Client</a> was originally published in <a href="https://javascript.plainenglish.io/">JavaScript in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to set up SSH key for GitHub on MacOS]]></title>
            <link>https://blog.stackademic.com/how-to-set-up-ssh-key-for-github-on-macos-d7331d8c47a6?source=rss-700da7521b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d7331d8c47a6</guid>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[ssh]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Leonid Shvab]]></dc:creator>
            <pubDate>Tue, 25 Jul 2023 06:31:47 GMT</pubDate>
            <atom:updated>2023-10-09T00:51:38.589Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Set Up SSH Key for GitHub on MacOS</h3><figure><img alt="Header background. How to set up SSH key for GitHub on MacOS" src="https://cdn-images-1.medium.com/max/1014/1*NCpPYSIFNtx27lTAEXbmiQ.png" /><figcaption>Header background</figcaption></figure><p>How to use git clone via ssh? You need to set up ssh for your GitHub.<br>And I show a short tutorial how you can do that. (5 steps)</p><ol><li>Setup .gitconfig</li></ol><pre>git config --global user.name &quot;Your Name&quot;<br>git config --global user.email “you@example.com”</pre><p>2. Generating a new SSH key. Run this code in Terminal. And press “Enter” for the default value.</p><pre>ssh-keygen -t ed25519 -C &quot;your_email@example.com&quot;</pre><figure><img alt="Opened Terminal" src="https://cdn-images-1.medium.com/max/1024/1*Z2xLDKJ7xX_eZ9-its8Irg.png" /><figcaption>Opened Terminal</figcaption></figure><p>3. Copy the SSH public key to your clipboard. After this step, your key will be in the memory.</p><pre>pbcopy &lt; ~/.ssh/id_ed25519.pub</pre><p>It remains to insert it (<em>command + v</em>). You can save your key in any text editor until you paste it on GitHub.</p><p>4. Add a new SSH key: visit profile &gt; settings &gt; SSH and GPG keys. Click on “New SSH key”</p><figure><img alt="SSH and GPG keys page. Need to click on “New SSH key”" src="https://cdn-images-1.medium.com/max/1024/1*Fkc3Y_5t0MAkepJnZn-umA.png" /><figcaption>SSH and GPG keys page. How to add SSH key</figcaption></figure><p>5. Paste(use) key from the second step into “key” field and write any name into “title” field.</p><blockquote><em>If you don’t know, where to get key, you can write again in the terminal <br></em><strong><em>pbcopy &lt; ~/.ssh/id_ed25519.pub <br></em></strong><em>and</em><strong><em> </em></strong><em>then </em><strong><em>command + v </em></strong><em>into “key” field.</em></blockquote><figure><img alt="Page for adding SSH key" src="https://cdn-images-1.medium.com/max/1024/1*Ungs4seISboqjISDOY2TGQ.png" /><figcaption>Page for adding SSH key</figcaption></figure><p>After, these steps git clone via ssh should work properly.</p><pre>git clone git@github.com:LeonidShv/interesting-css-properties.git</pre><p>If it does not work for you, remove your ssh key, and try this tutorial again.</p><pre>cd<br>rm -rf .ssh</pre><figure><img alt="SSH and GPG keys page. How to delete SSH key" src="https://cdn-images-1.medium.com/max/1024/1*9iKqQoQ5CGSwCKZbm4xfQQ.png" /><figcaption>SSH and GPG keys page. How to delete SSH key</figcaption></figure><p>Full tutorial on Github:<br>C<a href="https://docs.github.com/en/authentication/connecting-to-github-with-ssh">onnecting-to-github-with-ssh</a></p><p>Contacts:<br>1) <a href="https://www.linkedin.com/in/leonid-shvab-a2a32b1a7/">Linkedin</a><br>2) <a href="https://github.com/LeonidShv">Github</a><br>3) <a href="https://leonid-shvab.web.app/">Landing page</a></p><h3>Stackademic</h3><p><em>Thank you for reading until the end. Before you go:</em></p><ul><li><em>Please consider </em><strong><em>clapping</em></strong><em> and </em><strong><em>following</em></strong><em> the writer! 👏</em></li><li><em>Follow us on </em><a href="https://twitter.com/stackademichq"><strong><em>Twitter(X)</em></strong></a><em>, </em><a href="https://www.linkedin.com/company/stackademic"><strong><em>LinkedIn</em></strong></a><em>, and </em><a href="https://www.youtube.com/c/stackademic"><strong><em>YouTube</em></strong></a><strong><em>.</em></strong></li><li><em>Visit </em><a href="http://stackademic.com/"><strong><em>Stackademic.com</em></strong></a><em> to find out more about how we are democratizing free programming education around the world.</em></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d7331d8c47a6" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/how-to-set-up-ssh-key-for-github-on-macos-d7331d8c47a6">How to set up SSH key for GitHub on MacOS</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interesting HTML tags]]></title>
            <link>https://medium.com/front-end-weekly/interesting-html-tags-89ecc04cb2a9?source=rss-700da7521b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/89ecc04cb2a9</guid>
            <category><![CDATA[front-end-developer]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[html]]></category>
            <dc:creator><![CDATA[Leonid Shvab]]></dc:creator>
            <pubDate>Mon, 24 Jul 2023 06:18:30 GMT</pubDate>
            <atom:updated>2023-08-29T14:15:24.140Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Featured image. Cats and title: interesting html tags" src="https://cdn-images-1.medium.com/max/1006/1*d7U-NMiDLDCz3FtOeNY-kw.png" /><figcaption>Featured image</figcaption></figure><p>I am going to show you the top 9 <strong>interesting HTML tags and attributes</strong>. In this article, you will research short examples and tricks with HTML.</p><p>I notice, developers make some components instead of using native HTML tags. Hope, this article will help to save time and resources for your project.</p><blockquote>Native HTML tags or attributes for the:<br>1. Progress bar<br>2. Expansion panel (accordion)<br>3. Dialog<br>4. Color selection<br>5. Base url<br>6. Lazy loading<br>7. Calendar <br>8. Single range<br>9. Content editable</blockquote><ol><li>The example of how you can add a progress bar to your web app without using additional libraries.</li></ol><pre>&lt;progress value=&quot;32&quot; max=&quot;100&quot;&gt; 32% &lt;/progress&gt;</pre><figure><img alt="A result of processing of &lt;progress /&gt; tag. It is a progress bar." src="https://cdn-images-1.medium.com/max/744/1*Yk7jk0VOFKutM-S0mcRoYA.png" /><figcaption>The result of processing &lt;progress /&gt;</figcaption></figure><p>2. The example of how you can add expansion panel (accordion) to your web app.</p><pre>&lt;details&gt;<br>  &lt;summary&gt;Global Goals&lt;/summary&gt;<br>  &lt;p&gt;The Global Goals are a set of 17 commitments made by 193 world leaders, to end extreme poverty, inequality, and climate change by 2030..&lt;/p&gt;<br>&lt;/details&gt;</pre><figure><img alt="The result of processing of HTML tags details and summary. It is an animated gif with opening and closing a block of text." src="https://cdn-images-1.medium.com/max/600/1*JPmID3RGNTK3SK4ika1H4A.gif" /><figcaption>The result of processing &lt;details /&gt; and &lt;summary/&gt;</figcaption></figure><p>3. The semantic way of adding a dialog to your website. But in my opinion, the native HTML element loses out to the ready-made components from UI libraries.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Ff%2F788447%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2F788447%2F&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/18214d8333adbb5668f31791a3202b60/href">https://medium.com/media/18214d8333adbb5668f31791a3202b60/href</a></iframe><pre>&lt;dialog open&gt;<br>  &lt;p&gt;Greetings, one and all!&lt;/p&gt;<br>  <br>  &lt;button&gt;Close&lt;/button&gt;<br>&lt;/dialog&gt;</pre><figure><img alt="The result of processing of HTML tag &lt;dialog /&gt;. It is dialog." src="https://cdn-images-1.medium.com/max/376/1*TtYNrNJ5OM4nmsq47kmNXQ.png" /><figcaption>The result of processing &lt;dialog /&gt;</figcaption></figure><p>4. A native HTML tag for color selection.</p><pre>&lt;input type=&quot;color&quot;&gt;</pre><figure><img alt="The result of processing of HTML tag input:color. It is a color picker." src="https://cdn-images-1.medium.com/max/320/1*YstpKUl8Ghhr65sXyFrEAQ.gif" /><figcaption>The result of processing input:color</figcaption></figure><p>5. The &lt;base&gt; HTML tag specifies the base URL for all URLs in a document.</p><pre>&lt;base href=&quot;https://leonid-shvab.web.app/&quot;&gt;<br><br>&lt;a href=&quot;contacts&quot;&gt;contacts&lt;/a&gt;<br>&lt;a href=&quot;blog/000&quot;&gt;blog&lt;/a&gt;</pre><p>6. A native implementation of lazy loading. Just add the loading=”lazy” attribute and watch as the images load one by one in the network. This functionality has weak compatibility with browsers. But for the future, it is a great solution for lazy loading.</p><pre>&lt;img  loading=&quot;lazy&quot; src=&quot;1.jpg&quot; height=&quot;400px&quot; width=&quot;400px&quot;&gt;<br>&lt;img  loading=&quot;lazy&quot; src=&quot;2.jpg&quot; height=&quot;400px&quot; width=&quot;400px&quot;&gt;<br>&lt;img  loading=&quot;lazy&quot; src=&quot;3.jpg&quot; height=&quot;400px&quot; width=&quot;400px&quot;&gt;</pre><figure><img alt="The result of the implementation of lazy loading. The site scrolls by images and images are loaded when necessary" src="https://cdn-images-1.medium.com/max/424/1*Mf6RXN9VlrW6LikyMCUXzQ.gif" /><figcaption>The result of the implementation of lazy loading</figcaption></figure><p>7. A native HTML tag for the calendar.</p><pre>&lt;input type=&quot;date&quot;&gt;</pre><figure><img alt="The result of input:date. There is a calendar (date picker)" src="https://cdn-images-1.medium.com/max/1024/1*XDV50K17penOcn6yd2hMOA.png" /><figcaption>The result of input:date</figcaption></figure><p>8. A native HTML tag for the single range.</p><pre>&lt;input type=&quot;range&quot; min=&quot;0&quot; max=&quot;50&quot;&gt;</pre><figure><img alt="The result of input:range. There is a single range." src="https://cdn-images-1.medium.com/max/600/1*lJbCC7z4Pkyb-hpwj6XMDA.gif" /><figcaption>The result of input:range</figcaption></figure><p>9. An interesting atribute, which allows edit a block of text.</p><pre>&lt;p contenteditable=&quot;true&quot;&gt;<br>  You can edit this block of text.<br>&lt;/p&gt;</pre><figure><img alt="The result of contenteditable attribute. Example, how user can change the block of text." src="https://cdn-images-1.medium.com/max/600/1*4eWFfUSi93g-RLA-6J63Yg.gif" /><figcaption>The result of contenteditable attribute</figcaption></figure><p>Contacts:<br>1) <a href="https://www.linkedin.com/in/leonid-shvab-a2a32b1a7/">Linkedin</a><br>2) <a href="https://github.com/LeonidShv">Github</a><br>3) <a href="https://leonid-shvab.web.app/">Landing page</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89ecc04cb2a9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/front-end-weekly/interesting-html-tags-89ecc04cb2a9">Interesting HTML tags</a> was originally published in <a href="https://medium.com/front-end-weekly">Frontend Weekly</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interesting CSS properties]]></title>
            <link>https://medium.com/front-end-weekly/interesting-css-properties-dedb89a8a026?source=rss-700da7521b8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/dedb89a8a026</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[css3]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Leonid Shvab]]></dc:creator>
            <pubDate>Sun, 16 Jul 2023 21:54:15 GMT</pubDate>
            <atom:updated>2023-08-29T14:15:26.648Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*iMdGQztb8sn6-cM1B3mAfg.png" /></figure><p>I am going to show you the top 10 interesting CSS properties in my mind. In this article, you will be able to research short examples with immediate results. And also, I will share the GitHub link with all examples for testing.</p><blockquote>Moreover, be careful with browser compatibility, there are some new properties, that will not work on the old browsers. Check <a href="https://caniuse.com /">caniuse</a> for these properties.</blockquote><ol><li>The example of how you can add the animation for the text via the GIF file.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*XMFLjNo6yALXwpftt6ZJew.gif" /></figure><p>2. The <strong>line-clamp</strong> property limits the number of lines in the paragraph and adds an ellipsis(…) at the end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2eRgWAu1uGOnWVFzthQqcQ.png" /></figure><p>3. The example of how you can make a custom text selection via pseudo-classes <strong>::selection</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z8v7G2Y1raaHSl7oEAbF4A.png" /></figure><p>4. The example of how you can disable selection on the block of text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iO9wu97AcBZ0GygAbg6niQ.png" /></figure><p>5. The example of how you can limit the width of the button and add ellipsis(…) at the end.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Ff%2F788447%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2F788447%2F&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/18214d8333adbb5668f31791a3202b60/href">https://medium.com/media/18214d8333adbb5668f31791a3202b60/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MZfAZeI7RCZIy4NvRbNVWw.png" /></figure><p>6. The example of how you can set <strong>aspect ratio</strong> without using the height of the block.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xAKa6pRowE7Onug2eKlpcg.png" /></figure><p>7. Instead of the three properties min-width, max-width and width you can use one <strong>width:</strong> <strong>clamp()</strong>. It looks like a shorthand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BcyDUATdhzgmp-Bq5UlWKw.png" /></figure><p>8. A function <strong>max()</strong> returns the bigger value. It can help to omit using min-width. What do you think, does it simplify or make code more complicated?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U8mijnubFMctKAn7RA2m0w.png" /></figure><p>9. The example of how you can convert a color photo into a black-and-white image in one line of code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t0yDzQ-PamhOpp_VG2Qmvg.png" /></figure><p>10. There is another way you can make colorful text. Also, I believe you can make a wonderful animation with this example.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g6zcV5QQ-N7oMx8ONWc8Jw.png" /></figure><p>All examples you can find on the <a href="https://github.com/LeonidShv/interesting-css-properties">Github</a>. Also, you can contact with me via <a href="https://www.linkedin.com/in/leonid-shvab-a2a32b1a7/">Linkedin</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dedb89a8a026" width="1" height="1" alt=""><hr><p><a href="https://medium.com/front-end-weekly/interesting-css-properties-dedb89a8a026">Interesting CSS properties</a> was originally published in <a href="https://medium.com/front-end-weekly">Frontend Weekly</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>