Difference between revisions of "React 2"

From Sinfronteras
Jump to: navigation, search
Line 20: Line 20:
 
<br />
 
<br />
 
'''Start a New React Project official documentation''': https://react.dev/learn/start-a-new-react-project <br />
 
'''Start a New React Project official documentation''': https://react.dev/learn/start-a-new-react-project <br />
<span style="color:blue">If you want to build a new app or a new website fully with React, we recommend picking one of the React-powered frameworks popular in the community.</span>
+
<span style="color:green">If you want to build a new app or a new website fully with React, we recommend picking one of the React-powered frameworks popular in the community.</span>
 +
<span style="color:green">Can I use React without a framework?
 +
You can definitely use React without a framework—that’s how you’d use React for a part of your page. However, if you’re building a new app or a site fully with React, we recommend using a framework.
 +
Here’s why... </span>

Revision as of 21:35, 17 April 2023

https://www.udemy.com/course/react-redux/

Install React:

Install Node.js and npm:

# Add the Node.js repository:
curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash -

sudo apt install -y nodejs
sudo apt install -y npm
sudo npm install -g create-react-app

node -v
npm -v
create-react-app -V   # Capital V



Start a New React Project official documentation: https://react.dev/learn/start-a-new-react-project
If you want to build a new app or a new website fully with React, we recommend picking one of the React-powered frameworks popular in the community. Can I use React without a framework? You can definitely use React without a framework—that’s how you’d use React for a part of your page. However, if you’re building a new app or a site fully with React, we recommend using a framework. Here’s why...