Closed SimplySonu closed 1 year ago
Please add which issue it closes
added, please check @YashJain24-chief
So basically when we do shallow routing within the same page, the page won't reload even though the URL is changing and the scroll position won't reset. Is what I'm thinking correct? @SimplySonu
yes your right @YashJain24-chief
Looks good to me!
Please add a video describing the problem and then the video of solved page
@YashJain24-chief @RitikJaiswal75 @ivinayakg Please review.
@SimplySonu is attempting to deploy a commit to the RDS-Team Team on Vercel.
A member of the Team first needs to authorize it.
Please write test cases
Please write test cases @Maheima Actually I think we cannot add a test case for this. Only a query parms is been added in the url. Please give me your thoughts on this if I am wrong.
Closes #324 The page reloads each time a user clicked on the edit button on the status card. To prevent this I have used shallow routing. The URL will get updated to '?edit=true' and the page won't get replaced, only the state of the route is changed.