Skip to content
This repository has been archived by the owner on Apr 12, 2020. It is now read-only.

Listen to query string changes #38

Closed
brielov opened this issue Aug 8, 2019 · 5 comments
Closed

Listen to query string changes #38

brielov opened this issue Aug 8, 2019 · 5 comments

Comments

@brielov
Copy link

brielov commented Aug 8, 2019

So, I have a search route that takes the current query string on mount and fetches some data, but when I update the query string using navigateTo it does not triggers a re-render. How can I handle this kind of updates? If I use afterUpdate or lifecycle methods it would create an endless loop of fetch requests.

@brielov
Copy link
Author

brielov commented Aug 17, 2019

Nobody?

@kazzkiq
Copy link
Owner

kazzkiq commented Aug 19, 2019

We do not have support for query string at the moment, probably related to #33.

@pateketrueke
Copy link
Contributor

Yep, not implemented yet... but as it starts to be requested...

@brielov
Copy link
Author

brielov commented Sep 15, 2019

Thanks, I think it would be a really nice addition... It is a must have when you have a search form with filters, pagination, etc.

@kazzkiq
Copy link
Owner

kazzkiq commented Nov 1, 2019

Closing this as #33 already addresses the feature request.

@kazzkiq kazzkiq closed this as completed Nov 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants