SlideShare a Scribd company logo
How Create React App help in creating a New
React Applications?
React is one of the popular JavaScript frameworks that help in
creating front-end applications. React was created by Facebook and
gained massive popularity. It allows developers to create a fast app
using an intuitive programming paradigm. It ties JavaScript with an
HTML like syntax known as JSX.
Previously starting a new React project would have a complicated
multi-step process that involves setting a system. This code
transpiler converts modern syntax to code that is readable by all
browsers. Create React Apps which cover all JavaScript packages you
need to run a React node JS project.
The project makes add code transpiring, basic linting, testing, and
building systems. You can add a server with hot reloading which will
refresh your page with making appropriate changes. Create
directories structures and components from where you can jump and
start coding within a few minutes.
Moreover, you needn’t worry about configuring a build system. You
don’t need to transpile code to cross-browser. You don’t have to
worry about the most complicated system. Just start writing React
code with minimal preparation.
Building a react app is quite tough at the beginning. It mainly uses
dependencies, configuration, and other requirements before you
create an app react app. React app uses the CTI tool, which helps in
reducing all complexities and makes react apps simple to
understand. The create react apps tool is best for beginners as it set
up a development environment quickly with providing excellent
developers experience and optimizes the app for the production.
Check the requirements
As create React, apps are maintained by Facebook; it can work on
any platforms. Example: Windows, Linux, macOS, etc. create react
project where you need to install the following things like:
● Node version >= 8.10
● NPM version >= 5.6
Know how to check the current version of node and npm in the
system by running code:
$node -v
Check npm version in the command prompt
$ npm -v
Know how to install
If you want to learn how to install react using CRA tool, know the
steps below
Install React
● C:Usersjavatpoint> npm install -g create-react-app
Create a new React Project
● C:Usersjavatpoint> create-react-app react project
● C:Usersjavatpoint> npx create-react-app react project
The above command will help to install the react and create a new
project with the same name. Type command is given below:
What comes with create-react-app?
Here, we can add more support for things like Sass or TypeScript. It
can run with a single command and get new react apps which comes
along with:
● A recommended starting folder structure
● Extensibility
● Solid build setup with webpack and Babel
● Script to run our React Application
What’s a default way we can start with?
1. Build Setup
Our react app needs to build a step to transpile and code something
that browsers can read. With this, we can see many setups without
using Create App React.
● Add convenient folder structure
If you want to know about files and folders available in the root
directory then check below:
● Node_modules: It comes with react library and other third-
party libraries
● Public: It holds public asset of application which contain
index.html which mount the application on <div id=” root”>
</div>element.
● Src: It contains App.css, index.css, App.js, and serviceworker.js
files. The App.js file is mainly responsible for displaying the
output screen to React.
● Package-lock.json: It helps in generating automatically
operations where npm package modifies node_modules and
cannot be published.
● Package.json: It holds metadata which gives information to
npm and allows to identify project and handle dependencies.
● README.md: It helps in the product documentation for how to
read about react topics
2. Build Scripts
Create React App, which comes with few scripts that help in
development. Use scripts whenever we want to:
● Run application script for Development
● Build applications for production
● A test application that creates tests
● Add below code in package.json
Now run above commands like shown below:
● Start: Here, the command will start a development application.
You can open the application in the browser
● Build: One can bundle a production application and generate
only a few files that can host users.
● Test: Run test which comes with Create App React
● Eject: The eject gives access to the configure aspect for React
application. Create React App with no longer handling the
configuration for your application.
3. Add scripts to run applications
Take a look at what’s running tests look like:
4. Add Scripts to bundle for production
For hosting the code for users, we need to bundle all code into a
JavaScript file that users can use for loading. You can run the
following files as coded below:
npm run build
After successfully creating the new files, we need to provide the
React app to our users. You can add new files to the build folder.
Now host on a server and point users towards index.html file.
Wrapping up:
With Create React App one can configure own webpack and babel
setups as it’s one of the excellent tools for React developers. Now
again use React App to start your applications which provide a solid
base and keep info updated by the React team.
Global Network
USA
4811 N Harding Ave,
Chicago IL 60625
P: +1 (903) 200-8801
CANADA
1445 Rennie St Oshawa,
Ontario, L1K 0N9,CANADA
P: (416) 272-0981
INDIA
609/610,City Center Science
City Road
Ahmedabad - 380060
P: +919586777575
UK
6 Hastings Avenue
Ilford , IG6 1DZ
P: +44 (798) 560 0352
Web & Mobile App Development Company
https://www.concettolabs.com

More Related Content

What's hot (20)

PDF
PHP on Google App Engine
tim4h0blyn
 
PDF
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
Edureka!
 
PPTX
Build 2017 - B8096 - Ten things you didn’t know about Visual Studio 2017 for ...
Windows Developer
 
PDF
Setup Build & Deploy with Jenkins CI
walming
 
PDF
Environment Setup for Programming Languages
Rup Chowdhury
 
PPTX
Node.js
Dhananjay Kumar
 
PDF
Go Pro, Inc. Case Study: Dive into the details of our node.js applications
Andrew Maxwell
 
PDF
Visual Studio Tools for Cordova
Andrea Tino
 
PDF
GoPro, Inc. Case study: Dive into the details of our web applications
Andrew Maxwell
 
PPTX
Automated Testing Environment by Bugzilla, Testopia and Jenkins
walkerchang
 
PPTX
Branching Strategies For Git and Subversion
Elian, I.
 
PDF
React Native: Is It Worth It? UA Mobile 2017.
UA Mobile
 
PPTX
Vsts ci cd-java
VishnuBabu S
 
PDF
Test Driven Development with OSGi - Balázs Zsoldos
mfrancis
 
PPT
469-Porting the build system of a commercial RCP Application from Europa to G...
gustavoeliano
 
PDF
Build and release iOS apps using Fastlane tools
Wise Engineering
 
PPTX
Cross Browser Automation Testing Using Watir
Sarah Elson
 
PDF
Scale your PHP application with Elastic Beanstalk - CloudParty Genova
Corley S.r.l.
 
PDF
VISUG: Visual studio for web developers
Kevin DeRudder
 
PDF
Testing apps with MTM and Tea Foundation Service
Kevin DeRudder
 
PHP on Google App Engine
tim4h0blyn
 
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
Edureka!
 
Build 2017 - B8096 - Ten things you didn’t know about Visual Studio 2017 for ...
Windows Developer
 
Setup Build & Deploy with Jenkins CI
walming
 
Environment Setup for Programming Languages
Rup Chowdhury
 
Go Pro, Inc. Case Study: Dive into the details of our node.js applications
Andrew Maxwell
 
Visual Studio Tools for Cordova
Andrea Tino
 
GoPro, Inc. Case study: Dive into the details of our web applications
Andrew Maxwell
 
Automated Testing Environment by Bugzilla, Testopia and Jenkins
walkerchang
 
Branching Strategies For Git and Subversion
Elian, I.
 
React Native: Is It Worth It? UA Mobile 2017.
UA Mobile
 
Vsts ci cd-java
VishnuBabu S
 
Test Driven Development with OSGi - Balázs Zsoldos
mfrancis
 
469-Porting the build system of a commercial RCP Application from Europa to G...
gustavoeliano
 
Build and release iOS apps using Fastlane tools
Wise Engineering
 
Cross Browser Automation Testing Using Watir
Sarah Elson
 
Scale your PHP application with Elastic Beanstalk - CloudParty Genova
Corley S.r.l.
 
VISUG: Visual studio for web developers
Kevin DeRudder
 
Testing apps with MTM and Tea Foundation Service
Kevin DeRudder
 

Similar to How create react app help in creating a new react applications (20)

PDF
React - Inroduction and Fundamentals.pdf
fizashahid246
 
PPTX
INTRODUCTION TO REACT JAVASCRIPT FOR BEGINNERS.pptx
JamesGedza1
 
PDF
3 Ways to Get Started with a React App in 2024.pdf
BOSC Tech Labs
 
PDF
Learn Programming Languages & Get Programming Assignment Sample Solutions PDF...
Assignment Task
 
DOCX
COMP6210 Web Services And Design Methodologies.docx
write31
 
PDF
Reactjs Basics
Hamid Ghorbani
 
PPTX
NEXTjs.pptxfggfgfdgfgfdgfdgfdgfdgfdgfdgfg
zmulani8
 
PDF
Steps to Install NPM and Node.js on Windows and MAC
Inexture Solutions
 
PDF
Progressive Web Application by Citytech
Ritwik Das
 
PDF
React Native for macOS App Development in 2025
Shiv Technolabs Pvt. Ltd.
 
PDF
NEXT.JS
Binumon Joseph
 
PDF
next-230524050805-d1e22a49.pdferewrewrewrewr
zmulani8
 
PPTX
GDG Workshop on React (By Aakanksha Rai)
gdgoncampuslncts
 
PPTX
M365 global developer bootcamp 2019 Intro to SPFx Version
Thomas Daly
 
PPTX
Top 10 React Development Tools to Choose in 2023.pptx
75waytechnologies
 
PDF
learning react
Eueung Mulyana
 
PDF
Integrating TypeScript with popular frameworks like React or Angular.pdf
MobMaxime
 
PPTX
Getting Started With React Native Presntation
Knoldus Inc.
 
PPTX
Lecture 1 Introduction to React Native.pptx
GevitaChinnaiah
 
PDF
Top 11 Front-End Web Development Tools To Consider in 2020
Katy Slemon
 
React - Inroduction and Fundamentals.pdf
fizashahid246
 
INTRODUCTION TO REACT JAVASCRIPT FOR BEGINNERS.pptx
JamesGedza1
 
3 Ways to Get Started with a React App in 2024.pdf
BOSC Tech Labs
 
Learn Programming Languages & Get Programming Assignment Sample Solutions PDF...
Assignment Task
 
COMP6210 Web Services And Design Methodologies.docx
write31
 
Reactjs Basics
Hamid Ghorbani
 
NEXTjs.pptxfggfgfdgfgfdgfdgfdgfdgfdgfdgfg
zmulani8
 
Steps to Install NPM and Node.js on Windows and MAC
Inexture Solutions
 
Progressive Web Application by Citytech
Ritwik Das
 
React Native for macOS App Development in 2025
Shiv Technolabs Pvt. Ltd.
 
next-230524050805-d1e22a49.pdferewrewrewrewr
zmulani8
 
GDG Workshop on React (By Aakanksha Rai)
gdgoncampuslncts
 
M365 global developer bootcamp 2019 Intro to SPFx Version
Thomas Daly
 
Top 10 React Development Tools to Choose in 2023.pptx
75waytechnologies
 
learning react
Eueung Mulyana
 
Integrating TypeScript with popular frameworks like React or Angular.pdf
MobMaxime
 
Getting Started With React Native Presntation
Knoldus Inc.
 
Lecture 1 Introduction to React Native.pptx
GevitaChinnaiah
 
Top 11 Front-End Web Development Tools To Consider in 2020
Katy Slemon
 
Ad

More from Concetto Labs (20)

PDF
How AI in Education is Transforming Classrooms Worldwide.pdf
Concetto Labs
 
PDF
What is the Role of AI in the Sports Industry_.pdf
Concetto Labs
 
PDF
Which are The Top 6 Microsoft PowerApps Use Cases with Examples_.pdf
Concetto Labs
 
PPTX
Best Outsourcing Quality Assurance Service Tips for Boosting your Business.pptx
Concetto Labs
 
PPTX
Guide on Developing Mood Tracker App.pptx
Concetto Labs
 
PPTX
Which are the Skills_Tools required for Becoming a Mobile QA Engineer_.pptx
Concetto Labs
 
PPTX
Complete Guide_ Mobile App Navigation Designs.pptx
Concetto Labs
 
PPTX
The Top 15 Mobile App Development Trends to Watch for in 2022.pptx
Concetto Labs
 
PPTX
How Does Metaverse Affect E-Commerce Business_.pptx
Concetto Labs
 
PDF
Smart Building Technology_ Concept, Features, and Application.pdf
Concetto Labs
 
PDF
How to Develop Your Own Music Streaming App with Unique Features_.pdf
Concetto Labs
 
PPTX
What are the Cost and Key Features of On-Demand Car Wash App Development Serv...
Concetto Labs
 
PDF
What are the Cost and Key Features of On-Demand Car Wash App Development Serv...
Concetto Labs
 
PDF
Developing a Healthcare Mobile App_ Types, Examples, and Features.pdf
Concetto Labs
 
PDF
Laravel 9_ Everything You Need To Know About The Latest Major Release.pdf
Concetto Labs
 
PDF
The Complete Guide to API Development in 2022.pdf
Concetto Labs
 
PDF
What Is Mobile Device Testing and Best Practices For Mobile Testing_.pdf
Concetto Labs
 
PDF
9 Best Design Patterns in iOS to Develop Powerful iPhone Apps.pdf
Concetto Labs
 
PPTX
9 Best Design Patterns in iOS to Develop Powerful iPhone Apps.pptx
Concetto Labs
 
PPTX
How To Develop A Logistics & Transportation Mobile App_.pptx
Concetto Labs
 
How AI in Education is Transforming Classrooms Worldwide.pdf
Concetto Labs
 
What is the Role of AI in the Sports Industry_.pdf
Concetto Labs
 
Which are The Top 6 Microsoft PowerApps Use Cases with Examples_.pdf
Concetto Labs
 
Best Outsourcing Quality Assurance Service Tips for Boosting your Business.pptx
Concetto Labs
 
Guide on Developing Mood Tracker App.pptx
Concetto Labs
 
Which are the Skills_Tools required for Becoming a Mobile QA Engineer_.pptx
Concetto Labs
 
Complete Guide_ Mobile App Navigation Designs.pptx
Concetto Labs
 
The Top 15 Mobile App Development Trends to Watch for in 2022.pptx
Concetto Labs
 
How Does Metaverse Affect E-Commerce Business_.pptx
Concetto Labs
 
Smart Building Technology_ Concept, Features, and Application.pdf
Concetto Labs
 
How to Develop Your Own Music Streaming App with Unique Features_.pdf
Concetto Labs
 
What are the Cost and Key Features of On-Demand Car Wash App Development Serv...
Concetto Labs
 
What are the Cost and Key Features of On-Demand Car Wash App Development Serv...
Concetto Labs
 
Developing a Healthcare Mobile App_ Types, Examples, and Features.pdf
Concetto Labs
 
Laravel 9_ Everything You Need To Know About The Latest Major Release.pdf
Concetto Labs
 
The Complete Guide to API Development in 2022.pdf
Concetto Labs
 
What Is Mobile Device Testing and Best Practices For Mobile Testing_.pdf
Concetto Labs
 
9 Best Design Patterns in iOS to Develop Powerful iPhone Apps.pdf
Concetto Labs
 
9 Best Design Patterns in iOS to Develop Powerful iPhone Apps.pptx
Concetto Labs
 
How To Develop A Logistics & Transportation Mobile App_.pptx
Concetto Labs
 
Ad

Recently uploaded (20)

PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 

How create react app help in creating a new react applications

  • 1. How Create React App help in creating a New React Applications?
  • 2. React is one of the popular JavaScript frameworks that help in creating front-end applications. React was created by Facebook and gained massive popularity. It allows developers to create a fast app using an intuitive programming paradigm. It ties JavaScript with an HTML like syntax known as JSX. Previously starting a new React project would have a complicated multi-step process that involves setting a system. This code transpiler converts modern syntax to code that is readable by all browsers. Create React Apps which cover all JavaScript packages you need to run a React node JS project.
  • 3. The project makes add code transpiring, basic linting, testing, and building systems. You can add a server with hot reloading which will refresh your page with making appropriate changes. Create directories structures and components from where you can jump and start coding within a few minutes. Moreover, you needn’t worry about configuring a build system. You don’t need to transpile code to cross-browser. You don’t have to worry about the most complicated system. Just start writing React code with minimal preparation.
  • 4. Building a react app is quite tough at the beginning. It mainly uses dependencies, configuration, and other requirements before you create an app react app. React app uses the CTI tool, which helps in reducing all complexities and makes react apps simple to understand. The create react apps tool is best for beginners as it set up a development environment quickly with providing excellent developers experience and optimizes the app for the production. Check the requirements As create React, apps are maintained by Facebook; it can work on any platforms. Example: Windows, Linux, macOS, etc. create react project where you need to install the following things like:
  • 5. ● Node version >= 8.10 ● NPM version >= 5.6 Know how to check the current version of node and npm in the system by running code: $node -v Check npm version in the command prompt $ npm -v Know how to install If you want to learn how to install react using CRA tool, know the steps below
  • 6. Install React ● C:Usersjavatpoint> npm install -g create-react-app Create a new React Project ● C:Usersjavatpoint> create-react-app react project ● C:Usersjavatpoint> npx create-react-app react project The above command will help to install the react and create a new project with the same name. Type command is given below:
  • 7. What comes with create-react-app? Here, we can add more support for things like Sass or TypeScript. It can run with a single command and get new react apps which comes along with: ● A recommended starting folder structure ● Extensibility ● Solid build setup with webpack and Babel ● Script to run our React Application
  • 8. What’s a default way we can start with? 1. Build Setup Our react app needs to build a step to transpile and code something that browsers can read. With this, we can see many setups without using Create App React. ● Add convenient folder structure If you want to know about files and folders available in the root directory then check below:
  • 9. ● Node_modules: It comes with react library and other third- party libraries ● Public: It holds public asset of application which contain index.html which mount the application on <div id=” root”> </div>element. ● Src: It contains App.css, index.css, App.js, and serviceworker.js files. The App.js file is mainly responsible for displaying the output screen to React. ● Package-lock.json: It helps in generating automatically operations where npm package modifies node_modules and cannot be published. ● Package.json: It holds metadata which gives information to npm and allows to identify project and handle dependencies. ● README.md: It helps in the product documentation for how to read about react topics
  • 10. 2. Build Scripts Create React App, which comes with few scripts that help in development. Use scripts whenever we want to: ● Run application script for Development ● Build applications for production ● A test application that creates tests ● Add below code in package.json
  • 11. Now run above commands like shown below: ● Start: Here, the command will start a development application. You can open the application in the browser ● Build: One can bundle a production application and generate only a few files that can host users. ● Test: Run test which comes with Create App React ● Eject: The eject gives access to the configure aspect for React application. Create React App with no longer handling the configuration for your application.
  • 12. 3. Add scripts to run applications Take a look at what’s running tests look like: 4. Add Scripts to bundle for production For hosting the code for users, we need to bundle all code into a JavaScript file that users can use for loading. You can run the following files as coded below: npm run build After successfully creating the new files, we need to provide the React app to our users. You can add new files to the build folder. Now host on a server and point users towards index.html file.
  • 13. Wrapping up: With Create React App one can configure own webpack and babel setups as it’s one of the excellent tools for React developers. Now again use React App to start your applications which provide a solid base and keep info updated by the React team.
  • 14. Global Network USA 4811 N Harding Ave, Chicago IL 60625 P: +1 (903) 200-8801 CANADA 1445 Rennie St Oshawa, Ontario, L1K 0N9,CANADA P: (416) 272-0981 INDIA 609/610,City Center Science City Road Ahmedabad - 380060 P: +919586777575 UK 6 Hastings Avenue Ilford , IG6 1DZ P: +44 (798) 560 0352
  • 15. Web & Mobile App Development Company https://www.concettolabs.com