We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 4
PART-66
Absolute & Relative
Path In React Router REACT PRESENTER: MOHAMMAD ADIL Humble Request REACT
Techno Verse YT
Heavenly Delicious What is the difference between absolute path & relative path? REACT
• Relative path don’t start with forward slash /
• Absolute path starts with forward slash / • Relative paths will inherit closest route in which they are rendered. • Absolute path will construct path from the root of the app and not from the current URL. What is the difference between absolute path & relative path? REACT
• An absolute path is defined as specifying the location of a file or
directory from the root directory(/). • In other words, we can say that an absolute path is a complete path from start of actual file system from / directory. • Relative path is defined as the path related to the present working route.