examples/basic-mapUrlToProps/src/MainPage.js
function mapUrlChangeHandlersToProps(props) {
  return {
    onChangeFoo: (value) => replaceInUrlQuery('fooInUrl', encode(UrlQueryParamTypes.number, value)),
    onChangeBar: (value) => replaceInUrlQuery('bar', value),
  }
}
function mapUrlChangeHandlersToProps(props) {
  return {
    onChangeFoo: (value) => replaceInUrlQuery('fooInUrl', encode(UrlQueryParamTypes.number, value)),
    onChangeBar: (value) => replaceInUrlQuery('bar', value),
  }
}
function mapUrlChangeHandlersToProps ( props ) { return { onChangeFoo : ( value ) => replaceInUrlQuery ( 'fooInUrl' , encode ( UrlQueryParamTypes . number , value ) ) , onChangeBar : ( value ) => replaceInUrlQuery ( 'bar' , value ) , } }
Manually specify how to deal with changes to URL query param props.
We do this since we are not using a urlPropsQueryConfig.
Manually specify how to deal with changes to URL query param props . We do this since we are not using a urlPropsQueryConfig .