Answer the question
In order to leave comments, you need to log in
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
You can take a look here:
https://github.com/ReactTraining/react-router/tree...
Check the version you are connecting. Link was removed in version 4.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question