A
A
Alexander2018-10-29 18:55:20
React
Alexander, 2018-10-29 18:55:20

How to install react?

No doubt a stupid question, but still, how to install it? I climbed the links, I didn’t find it in any way, everywhere they write about some kind of create-react-app-master, well, I downloaded it, what’s next? Please step by step.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nakree, 2018-10-29
@AleksandrB

Just like any library. You can connect via cdn, you can connect via npm.
You can use the ready-made boilerplate create-react-app.
I think the following sequence of commands is suitable for you:

npm init react-app my-app
npm run eject

To start the dev server:
To build:
And you can use react.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question