JavaScript React Basics (retired) First Steps in React Our First Application

Aleks Stepancic
Aleks Stepancic
19,547 Points

How to install react on desktop?

I don't want to use Workspace, so can anyone tell me how to install it on desktop, with babel and jsx

2 Answers

Stuart Wright
Stuart Wright
41,030 Points

There is a workshop about setting up a React app on your local machine:

https://teamtreehouse.com/library/using-create-react-app

It assumes that you already have npm installed, a package manager which can be used to install Create React App. Here are some Treehouse blogs on installing npm (choose the correct one for your operating system):

http://blog.teamtreehouse.com/install-node-js-npm-mac http://blog.teamtreehouse.com/install-node-js-npm-windows http://blog.teamtreehouse.com/install-node-js-npm-linux

Kayla Johnson
Kayla Johnson
482 Points

That workshop is helpful but you'd think in a series called React Basics, they would go over how to set it up on your machine..

Bradley Maravalli
Bradley Maravalli
8,927 Points

Not to be snarky, be you can always take CDN links of React, copy & paste them into your file, and call it a day. No installations needed.