Next.js Discord

Discord Forum

Reloading because of router change

Unanswered
American black bear posted this in #help-forum
Open in Discord
American black bearOP
http://localhost:3000/route1/route2/route3/route4 - I have this URL with me, and whenever route 2, route 3 and route 4 loads, my component gets reloaded. This reload happens so fast that it looks like flickering. I want to be able to control this or at least delay the reload. How can i do it?

2 Replies

where is your component(getting reloaded) is located?
@James4u where is your component(getting reloaded) is located?
American black bearOP
I have created dynamic route that nests upto route4 level. My component is present at the route 4 level.