<?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 Kumar Saurav 😎 on Medium]]></title>
        <description><![CDATA[Stories by Kumar Saurav 😎 on Medium]]></description>
        <link>https://medium.com/@kumarsaurav?source=rss-5a3ee43b3f20------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8Zufei9zn9qFU8szK2zXBA@2x.jpeg</url>
            <title>Stories by Kumar Saurav 😎 on Medium</title>
            <link>https://medium.com/@kumarsaurav?source=rss-5a3ee43b3f20------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 14:35:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kumarsaurav/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[Animated Tabbar | React Navigation 5 | Reanimated 2]]></title>
            <link>https://medium.com/@kumarsaurav/animated-tabbar-react-navigation-5-reanimated-2-afb7f31b7a52?source=rss-5a3ee43b3f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/afb7f31b7a52</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Kumar Saurav ]]></dc:creator>
            <pubDate>Tue, 22 Sep 2020 05:34:24 GMT</pubDate>
            <atom:updated>2020-09-22T05:34:24.653Z</atom:updated>
            <content:encoded><![CDATA[<p>Animated bubble tab bar implementation using React Navigation 5 and Reanimated 2</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FwfRXlEdmEwg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DwfRXlEdmEwg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FwfRXlEdmEwg%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/1d5255cfb6af71bae25cb0852daf3c75/href">https://medium.com/media/1d5255cfb6af71bae25cb0852daf3c75/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afb7f31b7a52" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Native app from scratch | Part 7 FlatList Infinite Scroll & Navigation Stack]]></title>
            <link>https://medium.com/@kumarsaurav/react-native-app-from-scratch-part-7-flatlist-infinite-scroll-navigation-stack-8491fbd2413e?source=rss-5a3ee43b3f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/8491fbd2413e</guid>
            <category><![CDATA[react-native]]></category>
            <dc:creator><![CDATA[Kumar Saurav ]]></dc:creator>
            <pubDate>Tue, 28 Jul 2020 20:27:33 GMT</pubDate>
            <atom:updated>2020-07-28T20:27:33.279Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FrWUhiK5DjQw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DrWUhiK5DjQw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FrWUhiK5DjQw%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/24be3f759e06455b7242dc690c33e500/href">https://medium.com/media/24be3f759e06455b7242dc690c33e500/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8491fbd2413e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Native app from scratch]]></title>
            <link>https://medium.com/@kumarsaurav/react-native-app-from-scratch-d2e8092028b1?source=rss-5a3ee43b3f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2e8092028b1</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react-native]]></category>
            <dc:creator><![CDATA[Kumar Saurav ]]></dc:creator>
            <pubDate>Tue, 02 Jun 2020 20:20:58 GMT</pubDate>
            <atom:updated>2020-06-02T20:20:58.620Z</atom:updated>
            <content:encoded><![CDATA[<p>Part 1 Setup &amp; Navigation</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F4G26TV1MLRM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4G26TV1MLRM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F4G26TV1MLRM%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/f62254e3debe1ca321b43393592a8695/href">https://medium.com/media/f62254e3debe1ca321b43393592a8695/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2e8092028b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Custom Hook — Loader/Spinner | React]]></title>
            <link>https://medium.com/@kumarsaurav/custom-hook-loader-spinner-react-dd6df15be69b?source=rss-5a3ee43b3f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd6df15be69b</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react-hook]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Kumar Saurav ]]></dc:creator>
            <pubDate>Wed, 27 May 2020 07:36:53 GMT</pubDate>
            <atom:updated>2020-05-27T07:36:53.863Z</atom:updated>
            <content:encoded><![CDATA[<h3>Custom Hook — Loader/Spinner | React</h3><p>In this video, I will build a custom react hook for showing the loading indicator while making a network request. This custom hook can be reused for every component which fetches data from the network.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FI0d7FCDPiDI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DI0d7FCDPiDI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FI0d7FCDPiDI%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/cb25b9c05378878f8199b67f6faed220/href">https://medium.com/media/cb25b9c05378878f8199b67f6faed220/href</a></iframe><p>Please like the video and subscribe to the channel.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd6df15be69b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build REST API with Deno MongoDB and Oak ]]></title>
            <link>https://medium.com/appstud/build-rest-api-with-deno-mongodb-and-oak-936e4b4170f3?source=rss-5a3ee43b3f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/936e4b4170f3</guid>
            <category><![CDATA[deno]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[oak]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Kumar Saurav ]]></dc:creator>
            <pubDate>Wed, 20 May 2020 08:17:27 GMT</pubDate>
            <atom:updated>2020-05-20T08:17:27.662Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, everyone let’s look at the new javascript/typescript runtime made by creators of Node. In the video, I will show how to make restful APIs using Deno, MongoDB, and Oak.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FqU8BLXA6Bf4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DqU8BLXA6Bf4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FqU8BLXA6Bf4%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/d60648fe5a76543f209d2d914a6ebb5c/href">https://medium.com/media/d60648fe5a76543f209d2d914a6ebb5c/href</a></iframe><p>If you like the video please like the video and subscribe to the channel for Frontend Design and Development related videos.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=936e4b4170f3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/appstud/build-rest-api-with-deno-mongodb-and-oak-936e4b4170f3">Build REST API with Deno MongoDB and Oak 🦕</a> was originally published in <a href="https://medium.com/appstud">Screens</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Development Setup on Windows — WSL(Ubuntu) + Windows Terminal + oh-my-zsh + powerlevel10k]]></title>
            <link>https://medium.com/appstud/web-development-setup-on-windows-wsl-ubuntu-windows-terminal-oh-my-zsh-powerlevel10k-efcfc9a1c260?source=rss-5a3ee43b3f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/efcfc9a1c260</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[oh-my-zsh]]></category>
            <category><![CDATA[wsl]]></category>
            <category><![CDATA[powerlevel10k]]></category>
            <category><![CDATA[windows]]></category>
            <dc:creator><![CDATA[Kumar Saurav ]]></dc:creator>
            <pubDate>Sun, 19 Apr 2020 13:54:34 GMT</pubDate>
            <atom:updated>2020-04-22T12:19:49.568Z</atom:updated>
            <content:encoded><![CDATA[<h3>Web Development Setup on Windows — WSL(Ubuntu) + Windows Terminal + oh-my-zsh + powerlevel10k</h3><figure><img alt="WSL Windows Terminal fully customized with oh-my-zsh and powerlevel10k" src="https://cdn-images-1.medium.com/max/875/1*yvZ_HuV8r_a0Usju2iLaTg.png" /><figcaption>WSL Windows Terminal after customization</figcaption></figure><p>Microsoft is releasing tools that are making development on windows easy and fun. Windows Subsystem for Linux is an amazing idea. It works as promised, easy to install and run, almost seamless with windows. 🤩🤩</p><p>Microsoft has also released Windows Terminal which is in Preview mode. A combination of both gives a really powerful development experience on Windows. Excited to use Windows after over a decade.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fl3q2zbskZp2j8wniE%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fl3q2zbskZp2j8wniE%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2Fl3q2zbskZp2j8wniE%2Fgiphy-downsized-large.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="253" frameborder="0" scrolling="no"><a href="https://medium.com/media/d3af932e376b43d05ecca5c037042b60/href">https://medium.com/media/d3af932e376b43d05ecca5c037042b60/href</a></iframe><p>So, let’s get started with putting things together. The first thing we require is the Windows Subsystem for Linux. We need to enable it before it can be installed.</p><p>🚀 Open PowerShell as Administrator and run the following command</p><pre>Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux</pre><p>Next, download the Linux distro of your choice from the Microsoft Store. My choice here is Ubuntu 18.04 LTS. Detailed steps involved in the installation are provided <a href="https://docs.microsoft.com/en-us/windows/wsl/install-win10">here</a> by Microsoft.</p><p>Now, install Windows Terminal from Microsoft Store, which is still in Preview when I write this blog.</p><p><a href="https://www.microsoft.com/en-us/p/windows-terminal-preview/9n0dx20hk701?activetab=pivot:overviewtab">Get Windows Terminal (Preview) - Microsoft Store</a></p><p>Let’s start to customize Windows Terminal to use WSL. Launch and click the down caret next to the plus icon and click Settings. This will open a profiles.json file in your editor. This would be familiar to you if you have customized a VS Code setting.json file.</p><p>Change <em>defaultProfile </em>to guid of Ubuntu-18.04. This will make the Ubuntu terminal default. Change the color scheme of your choice from the link below. Just copy the theme and paste it the schemes array. Assign the <em>colorScheme </em>variable in defaults profile to the name of the color scheme.</p><p><a href="https://atomcorp.github.io/themes/">Windows Terminal Themes</a></p><p>Now let start customizing our Ubuntu Terminal.</p><p>⚙ ️Install <strong><em>zsh</em></strong></p><pre>sudo apt install zsh<br>exec zsh // to switch the termianl to zsh</pre><p>⚙ ️Install <strong><em>oh-my-zsh</em></strong></p><pre>sh -c &quot;$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)&quot;</pre><p>⚙ Install <strong><em>powerline10k </em></strong>from the following link. Make sure Meslo Nerdfont is installed from <a href="https://github.com/romkatv/powerlevel10k#meslo-nerd-font-patched-for-powerlevel10k">here</a>. Just follow the installation steps, in the end, there is a configuration wizard that makes the customization simple.</p><p><a href="https://github.com/romkatv/powerlevel10k#oh-my-zsh">GitHub - romkatv/powerlevel10k: A Zsh theme</a></p><p>💡 <strong>Quick Tip</strong> — The folder path is too long since it mounted. To shorten the path to show the last directory, change the following in ~/.p10.zsh file</p><pre>POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_last</pre><p>As suggested by <a href="https://medium.com/u/42e012808f32">Roman Perepelitsa</a>, a better approach would be changing above config to</p><pre>POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique<br>POWERLEVEL9K_DIR_MAX_LENGTH=20</pre><p>This will ensure the max length to 20, the default value is 80.</p><p>Also, adding a bidirectional alias for the mounted home directory as <em>h, </em>in the<em> ~/.zshrc</em></p><pre>hash -d h=/mnt/c/Users/diese</pre><p>💬 Please drop comments on how you have set up your Windows for development.</p><p>🎥 YouTube Video Link</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FyJpj33Jtpd0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DyJpj33Jtpd0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FyJpj33Jtpd0%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/3354e251317bfa2e2603fea7ee8f5d14/href">https://medium.com/media/3354e251317bfa2e2603fea7ee8f5d14/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efcfc9a1c260" width="1" height="1" alt=""><hr><p><a href="https://medium.com/appstud/web-development-setup-on-windows-wsl-ubuntu-windows-terminal-oh-my-zsh-powerlevel10k-efcfc9a1c260">Web Development Setup on Windows — WSL(Ubuntu) + Windows Terminal + oh-my-zsh + powerlevel10k</a> was originally published in <a href="https://medium.com/appstud">Screens</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup ESLint and Prettier together for react and react-native projects in Visual Studio Code]]></title>
            <link>https://medium.com/appstud/setup-eslint-and-prettier-together-for-react-and-react-native-projects-in-visual-studio-code-78772d58358d?source=rss-5a3ee43b3f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/78772d58358d</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[eslint]]></category>
            <category><![CDATA[prettier]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Kumar Saurav ]]></dc:creator>
            <pubDate>Tue, 03 Apr 2018 08:57:29 GMT</pubDate>
            <atom:updated>2018-05-29T07:19:34.246Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rvACxmf5eQawm3SnJS4iTg.png" /></figure><p>There is a lot of confusion while setting up eslint and prettier together for react and react-native projects. I too faced the same problem when I moved to the javascript/react/vscode world, I wrote this post where few things were right and some were wrong.</p><p><a href="https://medium.com/appstud/eslint-and-prettier-working-on-visual-studio-code-with-create-react-app-32dfef4b029c">ESLint and Prettier working on Visual Studio Code with create-react-app</a></p><p>So, lets correct those mistakes.</p><p><strong>Step 1</strong></p><p>Installing eslint and eslint-config-airbnb</p><ul><li>Install eslint plugin for vscode</li><li>Install eslint (you can also install this globally but I like to install it locally)</li></ul><pre>yarn add eslint -D</pre><ul><li>Install eslint-config-airbnb which need few other dependencies as well</li></ul><pre>yarn add eslint-config-airbnb eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react -D</pre><ul><li>Create .eslintrc file in the root directory and add the following lines</li></ul><pre>{<br>  &quot;extends&quot;: [<br>    &quot;airbnb&quot;<br>  ]<br>}</pre><p>Now, you will start seeing lint errors in your code.</p><p>Step 2</p><p>Installing prettier for code formatting (If you have prettier plugin installed via vscode plugin, uninstall it as it causes the code formatting twice)</p><ul><li>Install prettier and related dependencies</li></ul><pre>yarn add prettier eslint-config-prettier eslint-plugin-prettier -D</pre><ul><li>Update .eslintrc with following lines</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/98b55927a25c0bcae97dbae8bc92416b/href">https://medium.com/media/98b55927a25c0bcae97dbae8bc92416b/href</a></iframe><p>Step 3</p><p>VSCode user settings</p><ul><li>Add following line to user settings</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0316622698cee480637e7a96c9783aea/href">https://medium.com/media/0316622698cee480637e7a96c9783aea/href</a></iframe><p>Now, whenever you save a file the code will be formatted using the eslint config which is airbnb in this case. Please, comment you find any better ways for doing this.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78772d58358d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/appstud/setup-eslint-and-prettier-together-for-react-and-react-native-projects-in-visual-studio-code-78772d58358d">Setup ESLint and Prettier together for react and react-native projects in Visual Studio Code</a> was originally published in <a href="https://medium.com/appstud">Screens</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sketch Quick Tip — Different Rounded Corners for a rectangle]]></title>
            <link>https://medium.com/appstud/sketch-quick-tip-different-rounded-corners-for-a-rectangle-69e84c7cce68?source=rss-5a3ee43b3f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/69e84c7cce68</guid>
            <category><![CDATA[sketch]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[ux]]></category>
            <dc:creator><![CDATA[Kumar Saurav ]]></dc:creator>
            <pubDate>Thu, 29 Mar 2018 09:35:20 GMT</pubDate>
            <atom:updated>2019-10-21T10:27:50.703Z</atom:updated>
            <content:encoded><![CDATA[<p>Many times you would want to have different values of rounded corners for a rectangle. There are two ways of doing this in sketch.</p><p><strong>Method 1<br></strong>Create a rectangle, click on edit, and then select the individual corner and provide different values for Corners.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*E8NYZnrA55ieZ7KIyrqHVw.png" /></figure><p><strong>Method 2<br></strong>There is a quick way of applying different values of Corners in one go. You can enter different values separated by ;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*9eM_ZxfblHkxgATvOu2nKA.png" /></figure><p>For example 12;12;0;0</p><p>This will apply a top left and right corner radius of 12 and then a bottom right and left corner radius of 0. This shorthand convention comes from CSS, where the first value is top-left value and rest comes in clockwise order.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69e84c7cce68" width="1" height="1" alt=""><hr><p><a href="https://medium.com/appstud/sketch-quick-tip-different-rounded-corners-for-a-rectangle-69e84c7cce68">Sketch Quick Tip — Different Rounded Corners for a rectangle</a> was originally published in <a href="https://medium.com/appstud">Screens</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ESLint and Prettier working on Visual Studio Code with create-react-app]]></title>
            <link>https://medium.com/appstud/eslint-and-prettier-working-on-visual-studio-code-with-create-react-app-32dfef4b029c?source=rss-5a3ee43b3f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/32dfef4b029c</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[eslint]]></category>
            <category><![CDATA[visual-studio-code]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[prettier]]></category>
            <dc:creator><![CDATA[Kumar Saurav ]]></dc:creator>
            <pubDate>Tue, 27 Mar 2018 08:35:45 GMT</pubDate>
            <atom:updated>2019-01-07T06:29:47.063Z</atom:updated>
            <content:encoded><![CDATA[<p>Please visit updated version of this post</p><p><a href="https://medium.com/appstud/setup-eslint-and-prettier-together-for-react-and-react-native-projects-in-visual-studio-code-78772d58358d">Setup ESLint and Prettier together for react and react-native projects in Visual Studio Code</a></p><p>It can get a bit overwhelming when you are getting into react development with all the different tools and coding styles. Especially if you are coming from the native world like me. Should I use semicolon at the end of a line or not? Should I use a single quote or double quotes? These some of the few things a developer should be least worried about. But, javascript as it is, with the help of some tools, all these nuisances can be avoided.</p><p>ESLint is Javascript linter which can help in improving the code quality by identifying and reporting patterns in the code. Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. Making them work together saves a lot of time for a developer.</p><p>This setup process will assume that we use create-react-app for creating a new react app.</p><p><strong>Step 1</strong></p><ul><li>Install ESLint Visual Studio Code plugin by Dirk Baeumer</li><li>Install eslint globally</li></ul><pre>npm install eslint -g</pre><ul><li>Install Prettier Visual Studio Code plugin by Esben Petersen</li></ul><p><strong>Step 2</strong></p><ul><li>Add following dev dependencies</li></ul><pre>yarn add eslint-config-prettier eslint-plugin-prettier prettier  -D</pre><p><strong>Step 3</strong></p><ul><li>Create .eslintrc file in your root project folder</li><li>Add following lines to it</li></ul><pre>{<br>  &quot;extends&quot;: [&quot;react-app&quot;, &quot;plugin:prettier/recommended&quot;]<br>}</pre><p><strong>Step 4</strong></p><ul><li>Update user settings of Visual Studio Code. Visual Studio Code settings can be invoked using Command + ,</li><li>And then add following lines</li></ul><pre>&quot;editor.formatOnSave&quot;: true,<br>&quot;[javascript]&quot;: {<br>  &quot;editor.formatOnSave&quot;: false,<br>},<br>&quot;prettier.disableLanguages&quot;: [<br>  &quot;js&quot;<br>],<br>&quot;eslint.autoFixOnSave&quot;: true,<br>&quot;eslint.alwaysShowStatus&quot;: true,<br>&quot;files.autoSave&quot;: &quot;onFocusChange&quot;</pre><p>This will make code formatting when saving a file or on changing focus.</p><p>Whenever you write a badly formatted code it will automatically be formatted when you save a file or switch from that file.</p><p><strong>Step 5 </strong>Additional step to set up a pre-commit hook using husky, lint-staged and pretty-quick when you commit files.</p><ul><li>install husky, lint-staged and pretty-quick as dev dependencies</li></ul><pre>yarn add husky lint-staged pretty-quick -D</pre><ul><li>add the line to package.json in the scripts section</li></ul><pre>&quot;scripts&quot;: {<br>  &quot;precommit&quot;: &quot;pretty-quick --staged&quot;<br>}</pre><p>Voila, it done now. Stop worrying about formatting the code, it will be automatically formatted for you when you save or commit your files.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32dfef4b029c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/appstud/eslint-and-prettier-working-on-visual-studio-code-with-create-react-app-32dfef4b029c">ESLint and Prettier working on Visual Studio Code with create-react-app</a> was originally published in <a href="https://medium.com/appstud">Screens</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Coding UI in React Native]]></title>
            <link>https://medium.com/series/coding-ui-in-react-native-5f4a32fe1a95?source=rss-5a3ee43b3f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f4a32fe1a95</guid>
            <dc:creator><![CDATA[Kumar Saurav ]]></dc:creator>
            <pubDate>Thu, 02 Mar 2017 17:37:21 GMT</pubDate>
            <atom:updated>2017-03-02T17:37:21.576Z</atom:updated>
            <content:encoded><![CDATA[<img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f4a32fe1a95" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>