Adding Links

Developed with
QA

The course is part of this learning path

ReactJS: Zero to Hero
course-steps
14
certification
7
lab-steps
3
description
1
play-arrow
Start course
Overview
DifficultyIntermediate
Duration22m
Students108

Description

This module looks at how to Route in React. You’ll be looking at linking components, creating dynamic links, parameterized routes, and how to install the React Router DOM.

Learning Objectives 

The objectives of this module are to provide you with an understanding of: 

  • How to install the React Router DOM 
  • Hooks in React  
  • How to create restful services  
  • How to use an Effect Dependency Array  
  • How to hand errors in data requests  
  • How to send data   

Intended Audience  

This learning path is aimed at all who wish to learn how to use the ReactJS framework.  

Prerequisites

It is essential you understand the face of contemporary web development to attend this course. You should also have JavaScript experience, along with good HTML and CSS skills.

Feedback 

We welcome all feedback and suggestions - please contact us at qa.elearningadmin@qa.com to let us know what you think. 

Transcript

You can see that we have now modified the app component tied to reading. Essentially, we want the users to be able to switch between the filtrable causes table view and the add cause form view. To enable reaching across the application, we import browser reader and alias it as reader from the React reader down package we've added to the project. We then surround the current app component markup in the alias browser component. To up the navigation links, we create common markup for a header and a nav using a neurologic list items to construct the navigation menu. Inside the list items, we use naveling components with the two attributes set to the path in our app that we want to navigate to when a user clicks on the link. We haven't added any rooted information to change the views yet, but we can see that clicking on the links in the browser means that the URL in the address bar changes depending on the value of the two attribute in the nav link components. You will also notice that after we have visited the links the user agent styling turns them purple, indicating the addresses have been added to the history stack. The next step is to add rating information.

About the Author
Students3050
Labs8
Courses29
Learning paths6

An outstanding trainer in software development with more than 15 years experience as a Corporate and Apprentice Trainer, ICT Teacher and Head of Department, with a passion for technology and its uses. Continuing to develop existing and new skills and courses, primarily in web design using PHP, JavaScript, HTML, CSS and SQL but also OOP (Java), programming foundations (Using Python), DevOps (Git, CI/CD, etc) and Agile/Scrum. Practically minded, a quick learner and a problem solver with an attention to detail to ensure high quality outcomes.

Covered Topics