<?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: yashvi2001</title>
    <description>The latest articles on DEV Community by yashvi2001 (@yashvi2001).</description>
    <link>https://dev.to/yashvi2001</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%2F452229%2F8ce2851e-51b4-4e99-a33e-d44a01ca34e7.jpeg</url>
      <title>DEV Community: yashvi2001</title>
      <link>https://dev.to/yashvi2001</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yashvi2001"/>
    <language>en</language>
    <item>
      <title>What is React ? How to set up React?</title>
      <dc:creator>yashvi2001</dc:creator>
      <pubDate>Wed, 30 Dec 2020 23:41:47 +0000</pubDate>
      <link>https://dev.to/yashvi2001/what-is-react-how-to-set-up-react-4m5e</link>
      <guid>https://dev.to/yashvi2001/what-is-react-how-to-set-up-react-4m5e</guid>
      <description>&lt;h1&gt;
  
  
  What is React ?
&lt;/h1&gt;

&lt;p&gt;It is an open source front-end library developed by Facebook which helps for building the UI components. It’s used for handling the view layer for web and mobile apps. React also allows us to create reusable UI components.&lt;br&gt;
React allows developers to create large web applications that can change data, without reloading the page. The main purpose of React is to be fast, scalable, and simple. It works only on user interfaces in the application.&lt;/p&gt;

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

&lt;p&gt;React is very simple and easy to learn. The component-based approach, well-defined lifecycle, and use of just plain JavaScript make React very simple to learn, build a professional web. React uses a special syntax called JSX which is a mixture of JavaScript and HTML. &lt;br&gt;
React allows us to compose complex UIs by writing a small piece of code which is called Component.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;HTML&lt;/li&gt;
&lt;li&gt;CSS&lt;/li&gt;
&lt;li&gt;JavaScript&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Technical Requirement
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Nodejs installed&lt;/li&gt;
&lt;li&gt; A preferred Code Editor (Atom , VS code recommended)&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Setup
&lt;/h1&gt;

&lt;p&gt;We can setup the react app by :-&lt;/p&gt;

&lt;h3&gt;
  
  
  npx
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;npx create-react-app &amp;lt;project-directory&amp;gt;&lt;br&gt;
cd &amp;lt;project-directory&amp;gt;&lt;br&gt;
npm start&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  yarn
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;yarn create-react-app &amp;lt;project-directory&amp;gt;&lt;br&gt;
cd &amp;lt;project-directory&amp;gt;&lt;br&gt;
yarn start&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  npm
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;npm init react-app &amp;lt;project-directory&amp;gt;&lt;br&gt;
cd &amp;lt;project-directory&amp;gt;&lt;br&gt;
npm start&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then it runs the app in development mode.&lt;br&gt;
View the app in &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://localhost:3000"&gt;http://localhost:3000&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Your First React App is ready!&lt;/p&gt;

</description>
      <category>react</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
