<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Daniele Carta</title>
    <description>The latest articles on DEV Community by Daniele Carta (@crtdaniele).</description>
    <link>https://dev.to/crtdaniele</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F445354%2F75ac2809-f722-4dbf-9852-c09ee927d6c0.jpg</url>
      <title>DEV Community: Daniele Carta</title>
      <link>https://dev.to/crtdaniele</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/crtdaniele"/>
    <language>en</language>
    <item>
      <title>1 - A new boilerplate for React Application - CRA-ken is finally out!</title>
      <dc:creator>Daniele Carta</dc:creator>
      <pubDate>Mon, 23 Aug 2021 20:09:41 +0000</pubDate>
      <link>https://dev.to/crtdaniele/1-a-new-boilerplate-for-react-application-cra-ken-is-finally-out-46p6</link>
      <guid>https://dev.to/crtdaniele/1-a-new-boilerplate-for-react-application-cra-ken-is-finally-out-46p6</guid>
      <description>&lt;p&gt;Hi Developers,&lt;br&gt;
I'm &lt;a href="https://www.linkedin.com/in/daniele-carta-lugano/"&gt;Daniele Carta&lt;/a&gt; and I'm a Frontend Developer. For 3 years I'm worked with React and with Create React App.&lt;/p&gt;

&lt;p&gt;To fastify my work, I decise to create a new boilerplate for fastify the initialize a new application.&lt;/p&gt;

&lt;p&gt;The name of this boilerplate is CRA-ken. You can find the project in this link: &lt;a href="https://github.com/crtdaniele/cra-ken"&gt;https://github.com/crtdaniele/cra-ken&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;Why have I to use CRA-ken?&lt;/h2&gt;

&lt;p&gt;Because in this boilerplate you can find a lot of helpers and configuration like these:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;CRA(ken)&lt;/th&gt;
&lt;th&gt;CRA&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;React Testing Library&lt;/td&gt;
&lt;td&gt;✅ &lt;strong&gt;yes&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;✅ &lt;strong&gt;yes&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Routing&lt;/td&gt;
&lt;td&gt;✅ &lt;strong&gt;yes&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;❌ no&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Redux Store&lt;/td&gt;
&lt;td&gt;✅ &lt;strong&gt;yes&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;❌ no&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Redux Saga Middleware&lt;/td&gt;
&lt;td&gt;✅ &lt;strong&gt;yes&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;❌ no&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ESLint Configuration&lt;/td&gt;
&lt;td&gt;✅ &lt;strong&gt;yes&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;❌ no&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Prettier Configuration&lt;/td&gt;
&lt;td&gt;✅ &lt;strong&gt;yes&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;❌ no&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Versioning App&lt;/td&gt;
&lt;td&gt;✅ &lt;strong&gt;yes&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;❌ no&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;So, to install the boilerplate?&lt;/h2&gt;

&lt;p&gt;It's very easy:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx cra-ken-app my-app
&lt;span class="nb"&gt;cd &lt;/span&gt;my-app
npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the next articles I want to show you what I introduce in the next release and how to work the boilerplate CRA-ken.&lt;/p&gt;

&lt;p&gt;Stay tuned and follow me on LinkedIn and Github.&lt;/p&gt;

&lt;p&gt;LinkedIn: &lt;a href="https://www.linkedin.com/in/daniele-carta-lugano/"&gt;https://www.linkedin.com/in/daniele-carta-lugano/&lt;/a&gt;&lt;br&gt;
Github: &lt;a href="https://github.com/crtdaniele/"&gt;https://github.com/crtdaniele/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>boilerplate</category>
      <category>react</category>
      <category>frontend</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Custom Hooks vs Class vs Other... What is your choice?</title>
      <dc:creator>Daniele Carta</dc:creator>
      <pubDate>Tue, 25 Aug 2020 08:10:45 +0000</pubDate>
      <link>https://dev.to/crtdaniele/custom-hooks-vs-class-vs-other-what-is-your-choice-1a3h</link>
      <guid>https://dev.to/crtdaniele/custom-hooks-vs-class-vs-other-what-is-your-choice-1a3h</guid>
      <description>&lt;h2&gt;Hi Developer!&lt;/h2&gt;

&lt;p&gt;Today I want to ask you what is your prefer method to develop a business logic.&lt;/p&gt;

&lt;p&gt;In last year, with ReactJS 16.8, with the functional components + hooks, develop custom hooks with the business logic is very simple and practice.&lt;/p&gt;

&lt;p&gt;We need to have and to use Classes in a project? Or now we can use only the custom hooks?&lt;/p&gt;

&lt;p&gt;And with Typescript, we have the possibility to use "Namespace" a collection of class.&lt;/p&gt;

&lt;p&gt;Give me your opinion, and your best methodology!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/crtdaniele"&gt;Follow me on Github&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.linkedin.com/in/daniele-carta-lugano/"&gt;Follow me on LinkedIn&lt;/a&gt;&lt;/p&gt;

</description>
      <category>frontend</category>
      <category>react</category>
      <category>hook</category>
      <category>typescript</category>
    </item>
    <item>
      <title>How to learn a new [programming language, framework, library] in 4 points?</title>
      <dc:creator>Daniele Carta</dc:creator>
      <pubDate>Tue, 11 Aug 2020 07:05:54 +0000</pubDate>
      <link>https://dev.to/crtdaniele/how-to-learn-a-new-programming-language-framework-library-in-4-points-1po9</link>
      <guid>https://dev.to/crtdaniele/how-to-learn-a-new-programming-language-framework-library-in-4-points-1po9</guid>
      <description>&lt;p&gt;When you want learn a new programming language or a new framework, the first question is: &lt;b&gt;How to learn? Where can i study?&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;With this post, I want to show you how I &lt;b&gt;study a new technology&lt;/b&gt; (frontend, but is possibile to apply this method also for other jobs).&lt;/p&gt;

&lt;p&gt;For example, if I'll want to &lt;b&gt;learn ReactJS&lt;/b&gt;?&lt;/p&gt;

&lt;h2&gt;1. Official Documentation&lt;/h2&gt;

&lt;p&gt;In my opinion, the first thing to do is to study the official documentation.&lt;br&gt;
The official documentation is good to learn the syntax base of the language to have a strong base and to undestand the main concepts.&lt;/p&gt;

&lt;p&gt;In this case, the documentation of ReactJS is very good.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://reactjs.org/docs/getting-started.html"&gt;The official documentation&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Before to start a new course or read another resources, I advice you to read the all documentation.&lt;/p&gt;

&lt;h2&gt;2. Start a course&lt;/h2&gt;

&lt;p&gt;After you will read the documentation, you can change your job position on LinkedIn in "Senior Frontend Developer"... Ahah :)&lt;br&gt;
The second step, for me, is to start a course to learn better.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Now the question is: Wich course can I choice? and Where?&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;In the last years one of the best platform to learn a new technology is udemy.com.&lt;/p&gt;

&lt;p&gt;For example, if you try to search "ReactJS" in Udemy.com you can find 482 results.&lt;/p&gt;

&lt;p&gt;Courses ReactJS: &lt;a href="https://www.udemy.com/courses/search/?q=reactjs"&gt;https://www.udemy.com/courses/search/?q=reactjs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What are the strengths?&lt;/b&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;b&gt;Price:&lt;/b&gt; in general the courses are to expensive&lt;/li&gt;
&lt;li&gt;
&lt;b&gt;A lot of languages:&lt;/b&gt; you can find courses in lot of languages (italian, english, spanish, ecc...)&lt;/li&gt;
&lt;li&gt;In a lot of case the courses are taught by people who use those technologies for work&lt;/li&gt;
&lt;li&gt;You can watch the video and practice in the meantime&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Advice: find a short course where you can learn and improve your knowledge, prevents the long courses (in udemy.com you can find courses of 40 hours).&lt;/p&gt;

&lt;p&gt;Another advice is to watch the videos preview of the course. With those video, you can understand if the course is good for you.&lt;/p&gt;

&lt;h2&gt;3. Start a project&lt;/h2&gt;

&lt;p&gt;One of the best methods to learn a new technology is to start a new project.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What project?&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;For example, in ReactJS you can find a short lists of examples in official documentation: &lt;a href="https://reactjs.org/community/examples.html"&gt;https://reactjs.org/community/examples.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this link, you can find a previews of the apps and the GIT repositorys. To improve and practice try to replicate one of those app.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--RLtRybMC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/osknv1m8lqatz9xzowi5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--RLtRybMC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/osknv1m8lqatz9xzowi5.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;4. (last) Others points of view&lt;/h2&gt;

&lt;p&gt;When you are finish a course or a project and you are confident with the syntax and the main concepts, two methods to improve more your knowledge is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Follow on Social (for example in LinkedIn) people that works with that technology of lot of years (in this case: Senior Frontend Developer in ReactJS, ReactJS tutors).&lt;/li&gt;
&lt;li&gt;Read, read and more read. To discover new tips, follow the hashtag (for example in this case #reactjs) on site like medium.com, dev.to, and so.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;I hope to help you with these tips.&lt;br&gt;
Following these steps, I learned lot of things and new technology.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/crtdaniele"&gt;Follow me on Github&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.linkedin.com/in/daniele-carta-lugano/"&gt;Follow me on LinkedIn&lt;/a&gt;&lt;/p&gt;

</description>
      <category>frontend</category>
      <category>beginners</category>
      <category>learn</category>
    </item>
    <item>
      <title>Beginners - Create a Slider with GlideJS in SvelteJS</title>
      <dc:creator>Daniele Carta</dc:creator>
      <pubDate>Thu, 06 Aug 2020 07:05:42 +0000</pubDate>
      <link>https://dev.to/crtdaniele/beginners-create-a-slider-with-glidejs-in-sveltejs-8jc</link>
      <guid>https://dev.to/crtdaniele/beginners-create-a-slider-with-glidejs-in-sveltejs-8jc</guid>
      <description>&lt;p&gt;In this article I want to show you how to use Glide in Svelte!&lt;/p&gt;

&lt;p&gt;If you don't know Glide or Svelte:&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Glide&lt;/b&gt;: is an awesome slider in ES6&lt;br&gt;
Look the Documentation&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Svelte&lt;/b&gt;: is an open source framework in Vanilla Javascript&lt;br&gt;
Look the Documentation&lt;/p&gt;

&lt;h3&gt;First step: install Svelte and create the Scaffold&lt;/h3&gt;

&lt;p&gt;Open VS Code, go in your terminal and digit: &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;npx degit sveltejs/template project-svelte-and-glide&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Now we have a new folder (project-svelte-and-glide) with Svelte.&lt;/p&gt;

&lt;p&gt;The next step is: &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;cd project-svelte-and-glide

npm install
npm run dev&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Great, we have created our first project in SvelteJS!&lt;/p&gt;

&lt;h3&gt;Second step: install Glide package into Svelte&lt;/h3&gt;

&lt;p&gt;Now we have created our first project in Svelte. So, after the command npm run dev, open &lt;a href="http://localhost:5000" rel="noopener noreferrer"&gt;http://localhost:5000&lt;/a&gt; in Google Chrome, you can see a blank page with the title: Hello World.&lt;/p&gt;

&lt;p&gt;Open again the terminal and digit (into the folder project-svelte-and-glide):&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;npm install @glidejs/glide&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Perfect, now we can use the glide package, but we don't have the CSS base of Glide. Let's to add the css!&lt;/p&gt;

&lt;p&gt;For add the css of Glide, we need to modify the rollup confing (don't worry, it's very easy). &lt;/p&gt;

&lt;p&gt;Open your terminal and install a new dependencies into the project:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;npm install -D rollup-plugin-css-only&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Then, open the rollup config (in the main root) and before the node svelte in the plugins, add this line of code:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;plugins: [
    css({ output: "public/build/vendors.css" }),
    svelte({ ... &lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Now, open the index.html file in the public folder and add vendors.css after bundle.css:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&amp;lt;link rel="stylesheet" href="/build/vendors.css" /&amp;gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The last step is add the glide.min.css in the App.svelte file. In the script tag, add:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;import "../node_modules/@glidejs/glide/dist/css/glide.core.min.css";&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Restart the project.&lt;/p&gt;

&lt;p&gt;Now, rollup will compile all the external css that we'll import in our components into the vendors.css file.&lt;/p&gt;

&lt;h3&gt;Enjoy with Glide!&lt;/h3&gt;

&lt;p&gt;Return into VS Code and open the file App.svelte (src folder) and remove the useless content.&lt;/p&gt;

&lt;p&gt;First, in the script tag we need to import Glide, then we need to initialize and mount a new instance of Glide.&lt;/p&gt;

&lt;p&gt;In the script tag, import glide and onMount event of Svelte:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;import { onMount } from 'svelte';
import Glide from '@glidejs/glide';

onMount(() =&amp;gt; {
  new Glide('.glide').mount();
});&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Next, we need to create the slider, GlideJS work with this structure of HTML:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&amp;lt;div class="glide"&amp;gt;&lt;br&gt; &amp;lt;div data-glide-el="track" class="glide__track"&amp;gt;&lt;br&gt;   &amp;lt;ul class="glide__slides"&amp;gt;&lt;br&gt;    &amp;lt;li class="glide__slide"&amp;gt;&amp;lt;/li&amp;gt;&lt;br&gt;    &amp;lt;li class="glide__slide"&amp;gt;&amp;lt;/li&amp;gt;&lt;br&gt;    &amp;lt;li class="glide__slide"&amp;gt;&amp;lt;/li&amp;gt;&lt;br&gt;   &amp;lt;/ul&amp;gt;&lt;br&gt; &amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;b&gt;NOTE&lt;/b&gt;&lt;br&gt;
&lt;em&gt;The first class, is the class used in Javascript to identifier the slider.&lt;br&gt;
If you prefer, you can use also an ID.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Now I want to add an image into my slider, into the div glide__slide add:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&amp;lt;img alt="" src="https://picsum.photos/id/834/900" /&amp;gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;em&gt;Picsum is a service to have a placeholder image.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;The final result&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F2rglw03zd1jl1p0z5u1u.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F2rglw03zd1jl1p0z5u1u.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you have an issue, contact me or comment below!&lt;/p&gt;

&lt;p&gt;I'll happy to help you!&lt;br&gt;
Have fun!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/crtdaniele" rel="noopener noreferrer"&gt;Follow me on Github&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.linkedin.com/in/daniele-carta-lugano/" rel="noopener noreferrer"&gt;Follow me on LinkedIn&lt;/a&gt;&lt;/p&gt;

</description>
      <category>svelte</category>
      <category>glidejs</category>
      <category>frontendtutorial</category>
      <category>beginners</category>
    </item>
    <item>
      <title>The best plugins for VS Code - Frontend Developer</title>
      <dc:creator>Daniele Carta</dc:creator>
      <pubDate>Mon, 03 Aug 2020 10:53:01 +0000</pubDate>
      <link>https://dev.to/crtdaniele/the-best-plugins-for-vs-code-frontend-developer-4d5p</link>
      <guid>https://dev.to/crtdaniele/the-best-plugins-for-vs-code-frontend-developer-4d5p</guid>
      <description>&lt;p&gt;Are you a &lt;strong&gt;Frontend Developer&lt;/strong&gt;? Fantastic!&lt;/p&gt;

&lt;p&gt;Today, I want to suggest you the best plugins that you need in Visual Studio Code.&lt;/p&gt;

&lt;h3&gt;NPM Scripts TABS&lt;/h3&gt;

&lt;p&gt;If you are a Frontend Developer, you know what does it mean start a project with the terminal of VS Code and NPM. So, in Visual Studio Code you can add a tab "NPM Scripts" with the all scripts of your open package.json.&lt;/p&gt;

&lt;p&gt;The steps to add the tab are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open VS Code&lt;/li&gt;
&lt;li&gt;Go to Settings&lt;/li&gt;
&lt;li&gt;Search: npm.enableScriptExplorer&lt;/li&gt;
&lt;li&gt;Set to “Enable”
Now, you can see the tab “NPM Scripts”.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;Emmet support&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pVju94Dq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://code.visualstudio.com/assets/docs/editor/emmet/emmet-vendor-prefix.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pVju94Dq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://code.visualstudio.com/assets/docs/editor/emmet/emmet-vendor-prefix.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Emmet is a fantastic plugin to write code faster.&lt;br&gt;
&lt;em&gt;How? It’s easy!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;With Emmet you can write abbreviation of code and it will compile automatically for you.&lt;/p&gt;

&lt;p&gt;For example, in VS Code you can write: &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;ul&amp;gt;li*3&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The result will:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&amp;lt;ul&amp;gt;
  &amp;lt;li&amp;gt;&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;&amp;lt;/li&amp;gt;
  &amp;lt;li&amp;gt;&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;You can download Emmet from this link: &lt;a href="https://code.visualstudio.com/docs/editor/emmet"&gt;https://code.visualstudio.com/docs/editor/emmet&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;MongoDB plugin&lt;/h3&gt;

&lt;p&gt;Another interesting plugin for VS Code is MongoDB plugin. &lt;/p&gt;

&lt;p&gt;Exactly, you can have a simple client of MongoDB (the readonly data and structure of your database MongoDB Cloud).&lt;/p&gt;

&lt;p&gt;You need less than 5 minutes to install and configure your database into VS Code.&lt;/p&gt;

&lt;p&gt;An example:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--d2KGTKOT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/wzmcxwt62rodv4cva9z4.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--d2KGTKOT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/wzmcxwt62rodv4cva9z4.PNG" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's very comfortable because you don't need to open another client or one browser.&lt;/p&gt;

&lt;p&gt;You can download MongoDB plugin from this link: &lt;a href="https://marketplace.visualstudio.com/items?itemName=mongodb.mongodb-vscode"&gt;https://marketplace.visualstudio.com/items?itemName=mongodb.mongodb-vscode&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Drawio&lt;/h3&gt;

&lt;p&gt;Do you like draw your Frontend infrastructure?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--T9d2Lni1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://github.com/hediet/vscode-drawio/raw/master/docs/demo.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--T9d2Lni1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://github.com/hediet/vscode-drawio/raw/master/docs/demo.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Drawio is the best plugin for VS Code for draw directly into the ide. With this plugin you don't need any external software.&lt;/p&gt;

&lt;p&gt;Creating a file with the extension .drawio you will ready to draw a diagram with text, symbol, and other...&lt;/p&gt;

&lt;p&gt;You can download Drawio plugin from this link: &lt;a href="https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio"&gt;https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Custom font&lt;/h3&gt;

&lt;p&gt;In the last month I changed a lot of fonts, but finally I finded the best fonts (for me) for VS Code.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Cascadia font!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to install a custom font?&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Download Cascadia font on this link: &lt;a href="https://github.com/microsoft/cascadia-code/releases"&gt;https://github.com/microsoft/cascadia-code/releases&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Install the TTF file on your laptop&lt;/li&gt;
&lt;li&gt;Go to File -&amp;gt; Preferences -&amp;gt; Text Editors -&amp;gt; Font and in the textbox write "Cascadia Code"&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;Snipsnap&lt;/h3&gt;

&lt;p&gt;Snipsnap is a plugin similar to Emmet, but is more complete because with &lt;strong&gt;Snipsnap&lt;/strong&gt; you can have a snippets of codes in VS Code in a lot of languages of code.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0F07camF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://user-images.githubusercontent.com/2697570/73568644-23bc0180-4469-11ea-8b64-843c7a9a92d2.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0F07camF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://user-images.githubusercontent.com/2697570/73568644-23bc0180-4469-11ea-8b64-843c7a9a92d2.gif"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;At this link, you can find a list of snippets: &lt;a href="https://github.com/snipsnapdev/snipsnap/tree/master/snippets/javascript"&gt;https://github.com/snipsnapdev/snipsnap/tree/master/snippets/javascript&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For example, in my ide I installed the React snippets. &lt;br&gt;
Now, if I write "React comp" and then I press a TAB on my keyboard the Snipsnap snippets complete automatically the syntax with a empty functional components in ReactJS.&lt;/p&gt;

&lt;p&gt;You can download the Snipsnap on this link: &lt;a href="https://marketplace.visualstudio.com/items?itemName=snipsnapdev.snipsnap-vscode"&gt;https://marketplace.visualstudio.com/items?itemName=snipsnapdev.snipsnap-vscode&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Conclusion&lt;/h3&gt;

&lt;p&gt;I hope to help you with this article. I think now you can write code faster :).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/crtdaniele"&gt;Follow me on Github&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.linkedin.com/in/daniele-carta-lugano/"&gt;Follow me on LinkedIn&lt;/a&gt;&lt;/p&gt;

</description>
      <category>frontend</category>
      <category>vscode</category>
      <category>webdev</category>
      <category>developer</category>
    </item>
  </channel>
</rss>
