Enhancer loose all the query parameters on first route
See original GitHub issueI’m experiencing a weird issue, the first url of my app is something like http://localhost/url?foo=foo&bar=bar
.
If I add the enhancer to my store and the first action is being dispatched I loose all the parameter and my url became just http://localhost/url
.
My route is defined normally in the routMap as
const routesMap = {
ROUTE_URL: '/url'
}
Do I need to specify further options perhaps? How can I keep the query parameters in the url using the enhancer?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Add a way to change the query params on a page easily. #969
I would like an easy way to change the query params in the address bar at runtime. Usecases: I want to sync a...
Read more >Query Parameters - Routing - Ember Guides
This section describes how routing query parameters are used in Ember. See finding records to see how query parameters are applied to API...
Read more >Advanced Routing Configuration (for Extensions)
An route enhancer is there to replace a set of placeholders and fill in URL parameters on URL generation and resolving them properly...
Read more >Redux-First Router data-fetching: solving the 80% use case ...
In the majority of cases data can be paired to the route, i.e. the URL and parameters in the URL. How to get...
Read more >TYPO3 9.5 languageNavigation doesn't take query ...
TYPO3 9.5 languageNavigation doesn't take query parameters when switching language (e.g. News Detail) using route-enhancer.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes, it will automatically be handled. you won’t have to provide a query serializer option. hash strings will be handled as well.
@faceyspacey Do you mean it will be handled automatically in the next version? Will it work with the hash string as well?