
What did you need to install in order to create routes?
react-router-dom
three.js
router-dom
react-dom
Instead of anchor tags, what tag did you use with React Router?
the to attribute
the Link tag
the element attribute
the To tag
What's wrong with this code?
<Link to="/" className="nav-item" href="/"> Home <Link>The to attribute can't have just the "/" value.
The href attribute should not be used here.
You cannot have hyphens in the value of the className attribute.
About the author
A passionate full-stack developer from @ePlus.DEV
Comments
Join the discussionNo comments yet. Be the first to comment.
React Basics
In this module you will explore the basic structure and use of the React.js library. You will learn how to produce single page web applications using React components and to use JSX to style them.





