EraCode practice
Preserve filters while navigating (URLSearchParams + router)
Next.jsintermediateMulti-Part
Summary
Quick practice on Next.js navigation: keep existing query params when routing to a new path.
Problem preview
### Goal Implement a tiny navigation helper that **keeps the current query string** when moving to a different path. - Return a URL string that uses but preserves all existing search params. - If the…
Attempt this challenge
Sign in to attempt the full challenge with timed AI grading, hints, and test feedback.