Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 632 Bytes

README.md

File metadata and controls

9 lines (9 loc) · 632 Bytes

Routing using react-router-dom library.

  1. Install the below package to implement the routing in the application.

    npm i react-router-dom

  2. Routing configuration has been implemented in the App.tsx file for all the components.
  3. Route with parameter:

    component/pages/AccessDefaultParameter.tsx: Accessing parameter from the URL. The parameter is being passed from the routing setup.

  4. Route without parameter:

    component/pages/Department.tsx, component/pages/Employee.tsx, component/pages/Home.tsx, component/pages/Student.tsx

Please refer the attached information.txt and APP-DEMO file for more information.