<?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: Umar</title>
    <description>The latest articles on DEV Community by Umar (@ibrahimovichumar).</description>
    <link>https://dev.to/ibrahimovichumar</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%2F938753%2F38a96c48-0765-4b27-ac8b-2016925a84ca.png</url>
      <title>DEV Community: Umar</title>
      <link>https://dev.to/ibrahimovichumar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ibrahimovichumar"/>
    <language>en</language>
    <item>
      <title>How to create new React-App?</title>
      <dc:creator>Umar</dc:creator>
      <pubDate>Mon, 10 Oct 2022 17:25:14 +0000</pubDate>
      <link>https://dev.to/ibrahimovichumar/how-to-create-new-react-app-2a4h</link>
      <guid>https://dev.to/ibrahimovichumar/how-to-create-new-react-app-2a4h</guid>
      <description>&lt;h3&gt;
  
  
  Content
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;What is React-App?&lt;/li&gt;
&lt;li&gt;What do we need to download to make the react-app work?&lt;/li&gt;
&lt;li&gt;How to run React-App?&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;React is a JavaScript library for creating user interfaces.React based on components.It doesn't hang even if you write code all day.It is convenient, fast and popular.The main advantage of this library is that it is assigned to a declarative approach.More informations about react you can find on &lt;a href="https://reactjs.org/"&gt;React's&lt;/a&gt; official web-site&lt;/p&gt;

&lt;h2&gt;
  
  
  What to download to make the machine work?
&lt;/h2&gt;

&lt;h4&gt;
  
  
  Node JS
&lt;/h4&gt;

&lt;p&gt;For working React we need asynchronous event-driven JavaScript which called Node JS. Node JS is not a programming language but rather an open-sourced runtime environment for JavaScript.For more information, you can visit official web-site of &lt;a href="https://nodejs.org/en/download/"&gt;Node.js&lt;/a&gt;.You can also download it from there.&lt;/p&gt;

&lt;h4&gt;
  
  
  npm
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://docs.npmjs.com/about-npm"&gt;npm&lt;/a&gt; is the world's largest Software Library, package manager and installer. npm is also the most convenient library without it the React will not work normally when we use &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Introduction"&gt;DOM&lt;/a&gt;.We will install npm in terminal.&lt;/p&gt;

&lt;h5&gt;
  
  
  Opening terminal (shortcut)
&lt;/h5&gt;

&lt;p&gt;on Windows -&amp;gt; Ctrl + Alt + W &lt;br&gt;
on Linux -&amp;gt; Ctrl + Alt + T&lt;/p&gt;

&lt;p&gt;After that, write thi code in your terminal to download npm&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install -g npm
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Make sure that you installed npm with running code&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm --version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Running React-App
&lt;/h2&gt;

&lt;p&gt;Write this code to create new React-App&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx create-react-app (write name of your project)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For instance:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx create-react-app my-first-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then write:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd my-first-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Finally run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
and you will see your first react-app (localhost:3000) with react dynamic icon like this&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ckiQlLDi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5w72pbltqqr5j42jb71o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ckiQlLDi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5w72pbltqqr5j42jb71o.png" alt="Image description" width="880" height="468"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h5&gt;
  
  
  Cheers!
&lt;/h5&gt;

</description>
      <category>react</category>
      <category>node</category>
      <category>npm</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
