examples/basic-mapUrlToProps/src/MainPage.js
function mapUrlToProps(url, props) {
  return {
    foo: decode(UrlQueryParamTypes.number, url.fooInUrl),
    bar: url.bar,
  };
}
function mapUrlToProps(url, props) {
  return {
    foo: decode(UrlQueryParamTypes.number, url.fooInUrl),
    bar: url.bar,
  };
}
function mapUrlToProps ( url , props ) { return { foo : decode ( UrlQueryParamTypes . number , url . fooInUrl ) , bar : url . bar , } ; }
Map from url query params to props. The values in `url` will still be encoded
as strings since we did not pass a `urlPropsQueryConfig` to addUrlProps.
Map from url query params to props . The values in url will still be encoded as strings since we did not pass a urlPropsQueryConfig to addUrlProps .