Question 1: When I have spaces in the name url looks like /1/some name with a space. Instead of like /1/some%20name So I assumed there is no auto uri encoding for navigateTo params and I manually encoded with encodeURI(data.value.name) then the url has became /1/some%2520name That means % in the param is uri encoded. Why is the space not encoded but % is. Question 2: Am I doing this script only component only for redirection correct? Is it a good practice?