I used Link component in React to render a new page. Each time I click on the link to open the next page, the previous page also appears alongside with the new page. Please how do I prevent the previous page from opening and only display the newly open page?
Please I need help because I’ve been unable to proceed from this stage for days now and I have limited time to complete the project.
Please help me out ????????????.
I’ve tried using exact prop on the Link component and still doesn’t prevent the previous page from showing alongside with the new page each time I click on the link.
Ighabor Augustine Oshiozokhai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1