<?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>Forem: Yogeshwari Jhala</title>
    <description>The latest articles on Forem by Yogeshwari Jhala (@yogeshwarijhala).</description>
    <link>https://forem.com/yogeshwarijhala</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%2F632616%2Fa3453890-0359-4bde-a84e-871b1577fcb9.png</url>
      <title>Forem: Yogeshwari Jhala</title>
      <link>https://forem.com/yogeshwarijhala</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/yogeshwarijhala"/>
    <language>en</language>
    <item>
      <title>React and Getting Started with it</title>
      <dc:creator>Yogeshwari Jhala</dc:creator>
      <pubDate>Fri, 04 Jun 2021 14:26:05 +0000</pubDate>
      <link>https://forem.com/yogeshwarijhala/react-and-getting-started-with-it-4hm2</link>
      <guid>https://forem.com/yogeshwarijhala/react-and-getting-started-with-it-4hm2</guid>
      <description>&lt;p&gt;As a beginner some questions roll in our mind and they are :&lt;/p&gt;

&lt;h2&gt;
  
  
  What is React ?
&lt;/h2&gt;

&lt;p&gt;React is an open-source, front end, JavaScript library for building User Interfaces or UI components. It is maintained by Facebook and a community of individual developers and companies.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;JavaScript Library as it is about building JavaScript driven apps. React app runs in Browser so things happen instantly and don't have to wait for server response to get a new page. &lt;br&gt;
User Interfaces are basically "What we see". And React is about using components for building things.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Why to use React ?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;React is Flexible&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Learn Once , Write Everywhere.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;We can use react for Web Applications using React.js, Static sites using  Gatsby, Mobile Applications using React Native, Desktop Applications using Electron and Server rendering using Next.js.&lt;/p&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%2Fuploads%2Farticles%2Ftfjqnn59nuv5aijqgj6t.png" 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%2Fuploads%2Farticles%2Ftfjqnn59nuv5aijqgj6t.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;It provides great Developer Experience. It allows rapid development and API in react is simple to learn you would rarely look docs for it. Everything in React is a component which makes our code reusable. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Large number of people use React as compared to Angular and Vue and it is created and maintained by Facebook.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&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%2Fuploads%2Farticles%2Fyytaogzhak12alnvg370.png" 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%2Fuploads%2Farticles%2Fyytaogzhak12alnvg370.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;React has good performance as it uses Virtual DOM. Therefore, it allows ReactJS to know when exactly to re-render or when to ignore some specific pieces of DOM because it can detect when the data has changed.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;React is easy to test and large number of testing frameworks are present.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&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%2Fuploads%2Farticles%2Ffmkl6qk6vzw26hg8hd6e.png" 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%2Fuploads%2Farticles%2Ffmkl6qk6vzw26hg8hd6e.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;React Library allows us to write HTML like syntax in JavaScript.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How we can create our first react app?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1 :&lt;/strong&gt; &lt;br&gt;
Download and Install your preferred Text Editor. Some text editors which you can use are Sublime Text, Visual Studio Code, Notepad++, Webstorm.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2 :&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Local Development Environment&lt;br&gt;
Install latest version of node.js from &lt;a href="https://nodejs.org/en/" rel="noopener noreferrer"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3 :&lt;/strong&gt; &lt;br&gt;
Create React App&lt;br&gt;
Run these on Command Prompt&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;npx create-react-app my-app&lt;/li&gt;
&lt;li&gt;cd my-app&lt;/li&gt;
&lt;li&gt;npm start&lt;/li&gt;
&lt;/ul&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%2Fuploads%2Farticles%2Fuz1m84twcq1bfscicky2.png" 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%2Fuploads%2Farticles%2Fuz1m84twcq1bfscicky2.png" alt="image"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>frontend</category>
      <category>firstpost</category>
    </item>
  </channel>
</rss>
