TEJA831 / Project4

0 stars 0 forks source link

Issue Definition for Creation of Single page app #13

Open TEJA831 opened 1 year ago

TEJA831 commented 1 year ago

User Story: Developing a Single Page App

Description: I am a student currently enrolled in SSDI, under the guidance of Professor Dobbs. I am working on Project 4, and my task involves implementing view switching in my ReactJS application.This function helps the users in easily switching between different views and bookmark or share URLs pointing to specific views.

Acceptance Criteria:

Instead of utilizing ordinary a> tags to build navigation links between views, I will create navigation links between views using the Link component offered by React Router. Definition of Code:

By fulfilling these acceptance criteria, The required React Router components are successfully imported into the ReactJS application.To enable client-side routing, a HashRouter component is wrapped around the application.The Route component is used to define routes that map pathways to particular components.To switch between views, navigation links are made using the Link component.Users of the program can switch between perspectives.Users can save or share URLs that lead to particular views, and when the URL is loaded or refreshed, the program keeps the right view.