So i solved it by using react-router-dom
Given that I wanted to do the routes once my pages are initialized,
I was navigating between pages by url, so Context was always clearing and app refreshing witch is not what we want. So I used
<Link/> and then it works because
<Link/> help you to navigate without refreshing I guess…
CLICK HERE to find out more related problems solutions.