Skip to content

React Shell Commands

sergio edited this page Feb 4, 2021 · 4 revisions

npx and create-react-app

npm install -g npm

This will make sure you have the newest version of Node Package Manager. It will also give us access to npx. with npx, we can provide a node package name as an argument and use remote node packages as though they were installed with npm.

npx create-react-app <your_app_name>

Babel enables us to use syntax that browsers won't natively recognise by pre-compiling it into syntax that browsers do natively recognise. When used with React, this can (and in our case will) include, but not be limited to, digesting JSX.

Clone this wiki locally