Use Query Params Versions Save

React Hook for managing state in URL query parameters with easy serialization.

v0.3.2

5 years ago
  • Resolves #11 by adjusting compilation settings to work with ES5

v0.3.1

5 years ago
  • Resolves #10: makes it so the query object returned from useQueryParams remains the same unless one of its values changes.

v0.3.0

5 years ago

Breaking Changes

  • No longer looks for a query object on location since the history package got rid of that in version 4.0.0. (#7)
  • When encoding parameters that are not explicitly configured, defaults to converting them to strings.

Other Changes

v0.2.0

5 years ago

Breaking Change

  • Resolved issue: #1 (see #2)
    • Switches ArrayParam and NumericArrayParam to work with arr=a&arr=b&arr=c -> ['a', 'b', 'c'] style.
    • Renames old ArrayParam to DelimitedArrayParam, NumericArrayParam to DelimitedNumericArrayParam
    • Adds safe handling of array inputs to all parameters