<?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: Harshal Gangurde</title>
    <description>The latest articles on DEV Community by Harshal Gangurde (@zerosand1s).</description>
    <link>https://dev.to/zerosand1s</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%2F104723%2Ff231c998-c7de-4f3a-908b-47f1ab739b45.JPG</url>
      <title>DEV Community: Harshal Gangurde</title>
      <link>https://dev.to/zerosand1s</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zerosand1s"/>
    <language>en</language>
    <item>
      <title>Need suggestion about React+Material UI component directory structure</title>
      <dc:creator>Harshal Gangurde</dc:creator>
      <pubDate>Tue, 01 Sep 2020 13:31:15 +0000</pubDate>
      <link>https://dev.to/zerosand1s/need-suggestion-about-react-material-ui-component-directory-structure-49aj</link>
      <guid>https://dev.to/zerosand1s/need-suggestion-about-react-material-ui-component-directory-structure-49aj</guid>
      <description>&lt;p&gt;Hello Guys,&lt;/p&gt;

&lt;p&gt;I need a quick suggestion regarding the React component directory structure. I am using Material UI in my React app and using CSS in JS feature to style my components (using &lt;code&gt;makeStyles&lt;/code&gt;). &lt;/p&gt;

&lt;p&gt;At the moment my JS and CSS code resides in a single JS file. Like this&lt;/p&gt;

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

&lt;p&gt;As I keep adding more CSS classes my JS code keeps moving down (duh...). And it is pretty annoying to keep scrolling up and down to check things or to add new code. &lt;/p&gt;

&lt;p&gt;The question is, will it be considered good practice to move CSS classes into a separate file like traditional CSS? If there is any other way to do it please let me know.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

</description>
      <category>react</category>
      <category>help</category>
      <category>discuss</category>
      <category>watercooler</category>
    </item>
    <item>
      <title>Finally! I built my portfolio</title>
      <dc:creator>Harshal Gangurde</dc:creator>
      <pubDate>Fri, 22 Mar 2019 02:25:29 +0000</pubDate>
      <link>https://dev.to/zerosand1s/finally-i-built-my-portfolio-5a0a</link>
      <guid>https://dev.to/zerosand1s/finally-i-built-my-portfolio-5a0a</guid>
      <description>&lt;p&gt;Finally! I have finished working on the first version of my portfolio and I feel good. I had been thinking to build my portfolio for the last two years but never really worked on it. Last week I started searching for the ways to build it and I came across &lt;a href="https://www.gatsbyjs.org/"&gt;Gatsby&lt;/a&gt;, a framework to build static websites. Of course one can simply use HTML, CSS, and JS to do the job but I wanted to learn something new. I saw people using the word Gatsby a lot online and I wanted to try it. This was the great opportunity and I grabbed it. One more advantage with Gatsby is, it is based on React which meant I could improve my React skills along with finishing my portfolio.&lt;/p&gt;

&lt;p&gt;Here is the link to my portfolio: &lt;a href="https://portfolio-8b931.firebaseapp.com/"&gt;https://portfolio-8b931.firebaseapp.com/&lt;/a&gt; (I don't have a domain yet, but that's next thing on the list)&lt;/p&gt;

&lt;h4&gt;
  
  
  What I learned
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;A new framework, Gatsby&lt;/li&gt;
&lt;li&gt;CSS modules (Component scoped CSS)&lt;/li&gt;
&lt;li&gt;Hosting a website on firebase&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://formcarry.com/"&gt;FormCarry&lt;/a&gt;, to handle &lt;em&gt;contact me&lt;/em&gt; form without backend&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  What issues I faced
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;using CSS modules&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are many ways to add styles to your website but Gatsby recommends CSS Modules for beginners and I took their word for it.&lt;br&gt;
Initially I had issues with styles being not applied to my components until I found this &lt;a href="https://www.gatsbyjs.org/docs/component-css/#css-modules-and-bem"&gt;note&lt;/a&gt;.&lt;br&gt;
I was using dashes in my CSS class names but was not using them in camelcase format in my components. Once I figured that out everything else went quite smooth.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Please check out my portfolio and feel free to leave any comment here, I would love to get some feedback.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>gatsby</category>
      <category>react</category>
      <category>bootstrap</category>
      <category>portfolio</category>
    </item>
    <item>
      <title>I built my first React Native app</title>
      <dc:creator>Harshal Gangurde</dc:creator>
      <pubDate>Sun, 17 Feb 2019 01:21:11 +0000</pubDate>
      <link>https://dev.to/zerosand1s/i-built-my-first-react-native-app-2h1e</link>
      <guid>https://dev.to/zerosand1s/i-built-my-first-react-native-app-2h1e</guid>
      <description>&lt;p&gt;Hello Developers,&lt;/p&gt;

&lt;p&gt;This is my first post on Dev.to and it's about a very first app I developed using React Native. It's a simple and basic calculator app which does, yes you guessed it right, simple calculations.&lt;/p&gt;

&lt;h4&gt;
  
  
  What I learned:
&lt;/h4&gt;

&lt;p&gt;Well, this is just a basic app so I did not learn React Native in much depth. But this app helped me learn things like,&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;React Native syntax&lt;/li&gt;
&lt;li&gt;A different way to style components (without using CSS files)&lt;/li&gt;
&lt;li&gt;How to pass values between two different components&lt;/li&gt;
&lt;li&gt;How to set component state&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  What I missed from the web development world:
&lt;/h4&gt;

&lt;p&gt;I really missed a simple way to style buttons using React Native. React Native &lt;strong&gt;Button&lt;/strong&gt; component does not have &lt;code&gt;style&lt;/code&gt; property of its own.&lt;/p&gt;

&lt;p&gt;(Although, I learned that you can always create a custom button using &lt;a href="https://facebook.github.io/react-native/docs/touchableopacity"&gt;TouchableOpacity&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;If anybody is interested please check out this cool calculator app here&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vWogaON8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/github-logo-28d89282e0daa1e2496205e2f218a44c755b0dd6536bbadf5ed5a44a7ca54716.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/zerosand1s"&gt;
        zerosand1s
      &lt;/a&gt; / &lt;a href="https://github.com/zerosand1s/ReactNative-Calculator"&gt;
        ReactNative-Calculator
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      A simple and basic calculator app using React Native
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
Calculator&lt;/h1&gt;
&lt;p&gt;A simple and basic calculator application using React Native.&lt;/p&gt;
&lt;p&gt;Run the application using &lt;code&gt;react-native run-ios&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Check out the application images on different devices&lt;/p&gt;
&lt;p&gt;&lt;a href="https://raw.githubusercontent.com/zerosand1s/ReactNative-Calculator/master//images/iPhoneSE.png"&gt;iPhone SE&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://raw.githubusercontent.com/zerosand1s/ReactNative-Calculator/master//images/iPhoneX.png"&gt;iPhone X&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/zerosand1s/ReactNative-Calculator"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;p&gt;And this is what my calculator app looks like&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xmlYUCz---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/ykipqwuv2nj74rb4twk0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xmlYUCz---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/ykipqwuv2nj74rb4twk0.png" alt="iPhones SE"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--L8xctCQ7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/zknlfgxdswokxq8qb93d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--L8xctCQ7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/zknlfgxdswokxq8qb93d.png" alt="iPhones X"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>reactnative</category>
      <category>javascript</category>
      <category>ios</category>
    </item>
  </channel>
</rss>
