0% found this document useful (0 votes)
31 views4 pages

66 - Relative Links

Copyright
© © All Rights Reserved
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
0% found this document useful (0 votes)
31 views4 pages

66 - Relative Links

Copyright
© © All Rights Reserved
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.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy