React Location JSURL

A JSURL powered stringifier/parser for React Location.

  • Search param compression (smaller URLs)
  • More legible search params (fewer JSON encodings)

Usage

import { ReactLocation } from 'react-location'
import { parseSearch, stringifySearch } from 'react-location-jsurl'
const reactLocation = new ReactLocation({
parseSearch,
stringifySearch,
})
Was this page helpful?

Resources

Subscribe to our newsletter

The latest TanStack news, articles, and resources, sent to your inbox.

    I won't send you spam.

    Unsubscribe at any time.

    © 2020 Tanner Linsley. All rights reserved.