I\'ve been creating a react app, and I\'ve added filters. Now I was using window.location.search to update my URL but that was causing a refresh on a page, so the S
window.location.search