-
Notifications
You must be signed in to change notification settings - Fork 46
Handle the URL Parameters #40
Comments
This could be handled by on top of the helper :) |
I would find it quite handy to have this in the helper. An option |
Some thoughts on this:
|
Okay, just to have this discussion in the right thread [ Beginning here : https://github.com//pull/74#issuecomment-101558428 ]
With https://github.com/algolia/algolia-ui-kit/blob/feature/url/src/setup/url.js , that's kind of big for the small feature it adds. To me at least some of this logic should be in the helper, hence the "serialize/deserialize" approach which could even be useful with node. require("algoliasearch-helper/src/SearchParameters"); Client-side, if you're not in a browserified environment, how do you access the |
@jerskouille You can't and that's obviously an issue. Creating one now! |
This will be done in |
Generic tools are now provided in 2.6.0 in the url namespace, and others (for the current state) are on the helper instance. https://github.com/algolia/algoliasearch-helper-js#url-helpers http://algolia.github.io/algoliasearch-helper-js/docs/algoliasearchHelper.module_url.html Actual implementation must be done by a third party was it imply being based on a browser environment, and contains some opinion that we don't want to force on the user here. |
Have an optional way to:
Load the params of the state from URL hash
Set the URL hash when state changes
The text was updated successfully, but these errors were encountered: