H
H
Hahahah2017-10-05 15:41:04
React
Hahahah, 2017-10-05 15:41:04

How to correctly install various modules in a React project?

I know that you need to use a package builder like webpack or browserify, but for now, you just need to include the react-router module. I'm trying to connect the script in the html file, as I actually connected the react and react-dom (which work fine), but for some reason this method does not work. The error is this: Link is not defined (In particular, from react-router Link is needed).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
titanium4februa, 2017-10-05
@titanium4februa

You can take a look here:
https://github.com/ReactTraining/react-router/tree...

D
davidnum95, 2017-10-05
@davidnum95

Check the version you are connecting. Link was removed in version 4.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question