---
# System prepended metadata

title: Route

---

#What is React Router?
React Router is a library

# Route

**parameter called Route**

URL: www.google.com

URL + Parameter/Route : www.google.com/mail

URL + Parameter/Route: https://www.policybazaar.com/life-insurance/

URL + Parameter + Nested Parameter/Nested Route: https://www.policybazaar.com/life-insurance/term-insurance

URL + QUERY Parameter: https://www.policybazaar.com/?pb_source=organic

URL + Parameter/Route + QUERY Parameter: https://www.policybazaar.com/life-insurance/?pb_source=organic

URL + Parameter/Route + Nested Parameter + QUERY Parameter
https://www.policybazaar.com/life-insurance/term-insurance?pb_source=organic

Hash
----

URL: www.google.com/#ass12

`/<param>` -> Parameter
`?<key=value&key=value>` -> Query Parameter
`#<string(Alphabets + Number)>` -> Hash Parameter

/<param> -> Parameter

1. Single Parameter:
https://www.policybazaar.com/life-insurance/
-> life-insurance is Single Parameter

2. Nested Parameter
https://www.policybazaar.com/life-insurance/term-insurance
-> life-insurance is Single Parameter
-> term-insurance is Nested Parameter

3. Nested under Nested Parameter
https://www.policybazaar.com/life-insurance/term-insurance/family-insurance
-> life-insurance is Single Parameter
-> term-insurance is Nested Parameter
-> family-insurance is Nested under Nested Parameter


?<key=value&key=value> -> Query Parameter

1. Single Query Parameter
https://www.policybazaar.com/?pb_source=organic
https://www.policybazaar.com/life-insurance/term-insurance/?pb_source=organic
https://www.policybazaar.com/life-insurance/term-insurance/family-insurance?pb_source=organic
-> ?pb_source=organic is single Query Parameter
Key   = pb_source
value = organic

2. Multiple Query Parameter -> & to define multiple Query Parameter
https://www.policybazaar.com/?pb_source=organic&browser=Chrome
-> ?pb_source=organic&browser=Chrome are multiple Query Parameter
1. Key   = pb_source
1. Value = organic
2. Key   = browser
2. Value = Chrome

https://www.policybazaar.com/?pb_source=organic&browser=Chrome&version=86.0.54.1
-> ?pb_source=organic&browser=Chrome&version=86.0.54.1 are multiple Query Parameter
1. Key   = pb_source
1. Value = organic
2. Key   = browser
2. Value = Chrome
3. Key   = version
3. Value = 86.0.54.1


#<string(Alphabets + Number)> -> Hash Parameter


https://www.policybazaar.com#abcd1234
https://www.policybazaar.com/#abcd1234
https://www.policybazaar.com/life-insurance/#abcd1234
https://www.policybazaar.com/life-insurance#abcd1234
https://www.policybazaar.com/?pb_source=organic#abcd1234
https://www.policybazaar.com/?pb_source=organic&browser=Chrome&version=86.0.54.1#abcd1234

