I have URL like http://localhost:3000/aaa/bbb/ccc and each time i refresh the /bbb part is changed. How can I get /bbb segment and current value of /bbb as a string inside return() in React Native
const url = new URL("http://localhost:3000/aaa/bbb/ccc");
I try this and didnt work thank you
2
Answers
sorry for bad informations but i made it
You can do it by separating the
URI