Skip to content

Conversation

@chambo-e
Copy link
Contributor

When initial search is empty we have an infinite loop

As search is empty and our state is also empty but we compare

search !== `?${stringifiedParams}`

We call replace every 500ms for nothing

Copy link
Member

@DorianMaliszewski DorianMaliszewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@chambo-e chambo-e merged commit 7a5815e into master Mar 25, 2021
@chambo-e chambo-e deleted the fix/query-params-infinte branch March 25, 2021 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants