├── .eslintrc.js ├── .gitignore ├── .npmrc ├── .prettierrc ├── .travis.yml ├── .vscode └── launch.json ├── LICENSE ├── README.md ├── docs ├── asset-manifest.json ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json ├── robots.txt └── static │ ├── css │ ├── main.14171ca8.css │ └── main.14171ca8.css.map │ └── js │ ├── main.ed681c62.js │ ├── main.ed681c62.js.LICENSE.txt │ └── main.ed681c62.js.map ├── examples ├── react-router-5 │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.tsx │ │ ├── Issue46.js │ │ ├── ReadmeExample.tsx │ │ ├── ReadmeExample2.tsx │ │ ├── ReadmeExample3.tsx │ │ ├── ReadmeExample3Mapped.tsx │ │ ├── ReadmeExample4.tsx │ │ ├── RenderPropsExample.tsx │ │ ├── UseQueryParamExample.tsx │ │ ├── UseQueryParamsExample.tsx │ │ ├── WithQueryParamsExample.tsx │ │ ├── index.css │ │ ├── index.tsx │ │ ├── react-app-env.d.ts │ │ └── setupTests.ts │ └── tsconfig.json ├── react-router-6 │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.tsx │ │ ├── UseQueryParamExample.tsx │ │ ├── UseQueryParamsExample.tsx │ │ ├── index.css │ │ ├── index.tsx │ │ ├── react-app-env.d.ts │ │ └── setupTests.ts │ └── tsconfig.json └── website-example │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt │ ├── src │ ├── App.tsx │ ├── UseQueryParamExample.tsx │ ├── UseQueryParamsExample.tsx │ ├── index.css │ ├── index.tsx │ ├── react-app-env.d.ts │ └── setupTests.ts │ └── tsconfig.json ├── lerna.json ├── package.json ├── packages ├── serialize-query-params │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── src │ │ ├── __tests__ │ │ │ ├── decodeQueryParams.test.ts │ │ │ ├── encodeQueryParams.test.ts │ │ │ ├── helpers.ts │ │ │ ├── params.test.ts │ │ │ ├── serialize.test.ts │ │ │ ├── setupTests.ts │ │ │ ├── types.test-d.ts │ │ │ └── updateLocation.test.ts │ │ ├── decodeQueryParams.ts │ │ ├── encodeQueryParams.ts │ │ ├── index.ts │ │ ├── objectToSearchString.ts │ │ ├── params.ts │ │ ├── searchStringToObject.ts │ │ ├── serialize.ts │ │ ├── types.ts │ │ ├── updateLocation.ts │ │ └── withDefault.ts │ ├── tsconfig.build.json │ ├── tsconfig.json │ └── vitest.config.ts ├── use-query-params-adapter-reach │ ├── LICENSE │ ├── package.json │ ├── src │ │ └── index.ts │ ├── tsconfig.build.json │ └── tsconfig.json ├── use-query-params-adapter-react-router-5 │ ├── LICENSE │ ├── package.json │ ├── src │ │ ├── __tests__ │ │ │ ├── declarations.d.ts │ │ │ ├── react-router-5.test.tsx │ │ │ └── setupTests.ts │ │ └── index.ts │ ├── tsconfig.build.json │ ├── tsconfig.json │ └── vitest.config.ts ├── use-query-params-adapter-react-router-6 │ ├── LICENSE │ ├── package.json │ ├── src │ │ ├── __tests__ │ │ │ ├── react-router-6.test.tsx │ │ │ └── setupTests.ts │ │ └── index.ts │ ├── tsconfig.build.json │ ├── tsconfig.json │ └── vitest.config.ts ├── use-query-params-adapter-window │ ├── LICENSE │ ├── package.json │ ├── src │ │ └── index.ts │ ├── tsconfig.build.json │ └── tsconfig.json └── use-query-params │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── scripts │ └── copy-adapters.js │ ├── src │ ├── QueryParamProvider.tsx │ ├── QueryParams.tsx │ ├── __tests__ │ │ ├── QueryParamProvider.test.tsx │ │ ├── QueryParams.test.tsx │ │ ├── helpers.ts │ │ ├── routers │ │ │ ├── README.md │ │ │ ├── mocked.test.tsx │ │ │ └── shared.tsx │ │ ├── setupTests.ts │ │ ├── useQueryParam-SSR.test.tsx │ │ ├── useQueryParam.test.tsx │ │ ├── useQueryParams.test.tsx │ │ └── withQueryParams.test.tsx │ ├── decodedParamCache.ts │ ├── index.ts │ ├── inheritedParams.ts │ ├── latestValues.ts │ ├── memoSearchStringToObject.ts │ ├── options.ts │ ├── removeDefaults.ts │ ├── shallowEqual.ts │ ├── types.ts │ ├── updateSearchString.ts │ ├── urlName.ts │ ├── useQueryParam.ts │ ├── useQueryParams.ts │ └── withQueryParams.tsx │ ├── tsconfig.build.json │ ├── tsconfig.json │ └── vitest.config.ts ├── tsconfig.json └── vitest.config.ts /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/.npmrc -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/.prettierrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/.travis.yml -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/README.md -------------------------------------------------------------------------------- /docs/asset-manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/docs/asset-manifest.json -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/docs/favicon.ico -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/docs/index.html -------------------------------------------------------------------------------- /docs/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/docs/logo192.png -------------------------------------------------------------------------------- /docs/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/docs/logo512.png -------------------------------------------------------------------------------- /docs/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/docs/manifest.json -------------------------------------------------------------------------------- /docs/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/docs/robots.txt -------------------------------------------------------------------------------- /docs/static/css/main.14171ca8.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/docs/static/css/main.14171ca8.css -------------------------------------------------------------------------------- /docs/static/css/main.14171ca8.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/docs/static/css/main.14171ca8.css.map -------------------------------------------------------------------------------- /docs/static/js/main.ed681c62.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/docs/static/js/main.ed681c62.js -------------------------------------------------------------------------------- /docs/static/js/main.ed681c62.js.LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/docs/static/js/main.ed681c62.js.LICENSE.txt -------------------------------------------------------------------------------- /docs/static/js/main.ed681c62.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/docs/static/js/main.ed681c62.js.map -------------------------------------------------------------------------------- /examples/react-router-5/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/.gitignore -------------------------------------------------------------------------------- /examples/react-router-5/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/README.md -------------------------------------------------------------------------------- /examples/react-router-5/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/package.json -------------------------------------------------------------------------------- /examples/react-router-5/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/public/favicon.ico -------------------------------------------------------------------------------- /examples/react-router-5/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/public/index.html -------------------------------------------------------------------------------- /examples/react-router-5/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/public/logo192.png -------------------------------------------------------------------------------- /examples/react-router-5/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/public/logo512.png -------------------------------------------------------------------------------- /examples/react-router-5/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/public/manifest.json -------------------------------------------------------------------------------- /examples/react-router-5/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/public/robots.txt -------------------------------------------------------------------------------- /examples/react-router-5/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/src/App.tsx -------------------------------------------------------------------------------- /examples/react-router-5/src/Issue46.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/src/Issue46.js -------------------------------------------------------------------------------- /examples/react-router-5/src/ReadmeExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/src/ReadmeExample.tsx -------------------------------------------------------------------------------- /examples/react-router-5/src/ReadmeExample2.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/src/ReadmeExample2.tsx -------------------------------------------------------------------------------- /examples/react-router-5/src/ReadmeExample3.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/src/ReadmeExample3.tsx -------------------------------------------------------------------------------- /examples/react-router-5/src/ReadmeExample3Mapped.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/src/ReadmeExample3Mapped.tsx -------------------------------------------------------------------------------- /examples/react-router-5/src/ReadmeExample4.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/src/ReadmeExample4.tsx -------------------------------------------------------------------------------- /examples/react-router-5/src/RenderPropsExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/src/RenderPropsExample.tsx -------------------------------------------------------------------------------- /examples/react-router-5/src/UseQueryParamExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/src/UseQueryParamExample.tsx -------------------------------------------------------------------------------- /examples/react-router-5/src/UseQueryParamsExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/src/UseQueryParamsExample.tsx -------------------------------------------------------------------------------- /examples/react-router-5/src/WithQueryParamsExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/src/WithQueryParamsExample.tsx -------------------------------------------------------------------------------- /examples/react-router-5/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/src/index.css -------------------------------------------------------------------------------- /examples/react-router-5/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/src/index.tsx -------------------------------------------------------------------------------- /examples/react-router-5/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/react-router-5/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/src/setupTests.ts -------------------------------------------------------------------------------- /examples/react-router-5/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-5/tsconfig.json -------------------------------------------------------------------------------- /examples/react-router-6/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/.gitignore -------------------------------------------------------------------------------- /examples/react-router-6/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/README.md -------------------------------------------------------------------------------- /examples/react-router-6/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/package.json -------------------------------------------------------------------------------- /examples/react-router-6/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/public/favicon.ico -------------------------------------------------------------------------------- /examples/react-router-6/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/public/index.html -------------------------------------------------------------------------------- /examples/react-router-6/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/public/logo192.png -------------------------------------------------------------------------------- /examples/react-router-6/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/public/logo512.png -------------------------------------------------------------------------------- /examples/react-router-6/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/public/manifest.json -------------------------------------------------------------------------------- /examples/react-router-6/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/public/robots.txt -------------------------------------------------------------------------------- /examples/react-router-6/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/src/App.tsx -------------------------------------------------------------------------------- /examples/react-router-6/src/UseQueryParamExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/src/UseQueryParamExample.tsx -------------------------------------------------------------------------------- /examples/react-router-6/src/UseQueryParamsExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/src/UseQueryParamsExample.tsx -------------------------------------------------------------------------------- /examples/react-router-6/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/src/index.css -------------------------------------------------------------------------------- /examples/react-router-6/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/src/index.tsx -------------------------------------------------------------------------------- /examples/react-router-6/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/react-router-6/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/src/setupTests.ts -------------------------------------------------------------------------------- /examples/react-router-6/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/react-router-6/tsconfig.json -------------------------------------------------------------------------------- /examples/website-example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/.gitignore -------------------------------------------------------------------------------- /examples/website-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/README.md -------------------------------------------------------------------------------- /examples/website-example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/package.json -------------------------------------------------------------------------------- /examples/website-example/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/public/favicon.ico -------------------------------------------------------------------------------- /examples/website-example/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/public/index.html -------------------------------------------------------------------------------- /examples/website-example/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/public/logo192.png -------------------------------------------------------------------------------- /examples/website-example/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/public/logo512.png -------------------------------------------------------------------------------- /examples/website-example/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/public/manifest.json -------------------------------------------------------------------------------- /examples/website-example/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/public/robots.txt -------------------------------------------------------------------------------- /examples/website-example/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/src/App.tsx -------------------------------------------------------------------------------- /examples/website-example/src/UseQueryParamExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/src/UseQueryParamExample.tsx -------------------------------------------------------------------------------- /examples/website-example/src/UseQueryParamsExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/src/UseQueryParamsExample.tsx -------------------------------------------------------------------------------- /examples/website-example/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/src/index.css -------------------------------------------------------------------------------- /examples/website-example/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/src/index.tsx -------------------------------------------------------------------------------- /examples/website-example/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/website-example/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/src/setupTests.ts -------------------------------------------------------------------------------- /examples/website-example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/examples/website-example/tsconfig.json -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/lerna.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/package.json -------------------------------------------------------------------------------- /packages/serialize-query-params/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/CHANGELOG.md -------------------------------------------------------------------------------- /packages/serialize-query-params/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/LICENSE -------------------------------------------------------------------------------- /packages/serialize-query-params/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/README.md -------------------------------------------------------------------------------- /packages/serialize-query-params/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/package.json -------------------------------------------------------------------------------- /packages/serialize-query-params/src/__tests__/decodeQueryParams.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/__tests__/decodeQueryParams.test.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/__tests__/encodeQueryParams.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/__tests__/encodeQueryParams.test.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/__tests__/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/__tests__/helpers.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/__tests__/params.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/__tests__/params.test.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/__tests__/serialize.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/__tests__/serialize.test.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/__tests__/setupTests.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/serialize-query-params/src/__tests__/types.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/__tests__/types.test-d.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/__tests__/updateLocation.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/__tests__/updateLocation.test.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/decodeQueryParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/decodeQueryParams.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/encodeQueryParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/encodeQueryParams.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/index.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/objectToSearchString.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/objectToSearchString.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/params.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/params.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/searchStringToObject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/searchStringToObject.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/serialize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/serialize.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/types.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/updateLocation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/updateLocation.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/src/withDefault.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/src/withDefault.ts -------------------------------------------------------------------------------- /packages/serialize-query-params/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/tsconfig.build.json -------------------------------------------------------------------------------- /packages/serialize-query-params/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/tsconfig.json -------------------------------------------------------------------------------- /packages/serialize-query-params/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/serialize-query-params/vitest.config.ts -------------------------------------------------------------------------------- /packages/use-query-params-adapter-reach/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-reach/LICENSE -------------------------------------------------------------------------------- /packages/use-query-params-adapter-reach/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-reach/package.json -------------------------------------------------------------------------------- /packages/use-query-params-adapter-reach/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-reach/src/index.ts -------------------------------------------------------------------------------- /packages/use-query-params-adapter-reach/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-reach/tsconfig.build.json -------------------------------------------------------------------------------- /packages/use-query-params-adapter-reach/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-reach/tsconfig.json -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-5/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-5/LICENSE -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-5/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-5/package.json -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-5/src/__tests__/declarations.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'history'; 2 | -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-5/src/__tests__/react-router-5.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-5/src/__tests__/react-router-5.test.tsx -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-5/src/__tests__/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-5/src/__tests__/setupTests.ts -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-5/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-5/src/index.ts -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-5/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-5/tsconfig.build.json -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-5/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-5/tsconfig.json -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-5/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-5/vitest.config.ts -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-6/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-6/LICENSE -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-6/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-6/package.json -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-6/src/__tests__/react-router-6.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-6/src/__tests__/react-router-6.test.tsx -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-6/src/__tests__/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-6/src/__tests__/setupTests.ts -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-6/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-6/src/index.ts -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-6/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-6/tsconfig.build.json -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-6/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-6/tsconfig.json -------------------------------------------------------------------------------- /packages/use-query-params-adapter-react-router-6/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-react-router-6/vitest.config.ts -------------------------------------------------------------------------------- /packages/use-query-params-adapter-window/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-window/LICENSE -------------------------------------------------------------------------------- /packages/use-query-params-adapter-window/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-window/package.json -------------------------------------------------------------------------------- /packages/use-query-params-adapter-window/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-window/src/index.ts -------------------------------------------------------------------------------- /packages/use-query-params-adapter-window/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-window/tsconfig.build.json -------------------------------------------------------------------------------- /packages/use-query-params-adapter-window/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params-adapter-window/tsconfig.json -------------------------------------------------------------------------------- /packages/use-query-params/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/CHANGELOG.md -------------------------------------------------------------------------------- /packages/use-query-params/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/LICENSE -------------------------------------------------------------------------------- /packages/use-query-params/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/README.md -------------------------------------------------------------------------------- /packages/use-query-params/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/package.json -------------------------------------------------------------------------------- /packages/use-query-params/scripts/copy-adapters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/scripts/copy-adapters.js -------------------------------------------------------------------------------- /packages/use-query-params/src/QueryParamProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/QueryParamProvider.tsx -------------------------------------------------------------------------------- /packages/use-query-params/src/QueryParams.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/QueryParams.tsx -------------------------------------------------------------------------------- /packages/use-query-params/src/__tests__/QueryParamProvider.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/__tests__/QueryParamProvider.test.tsx -------------------------------------------------------------------------------- /packages/use-query-params/src/__tests__/QueryParams.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/__tests__/QueryParams.test.tsx -------------------------------------------------------------------------------- /packages/use-query-params/src/__tests__/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/__tests__/helpers.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/__tests__/routers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/__tests__/routers/README.md -------------------------------------------------------------------------------- /packages/use-query-params/src/__tests__/routers/mocked.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/__tests__/routers/mocked.test.tsx -------------------------------------------------------------------------------- /packages/use-query-params/src/__tests__/routers/shared.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/__tests__/routers/shared.tsx -------------------------------------------------------------------------------- /packages/use-query-params/src/__tests__/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/__tests__/setupTests.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/__tests__/useQueryParam-SSR.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/__tests__/useQueryParam-SSR.test.tsx -------------------------------------------------------------------------------- /packages/use-query-params/src/__tests__/useQueryParam.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/__tests__/useQueryParam.test.tsx -------------------------------------------------------------------------------- /packages/use-query-params/src/__tests__/useQueryParams.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/__tests__/useQueryParams.test.tsx -------------------------------------------------------------------------------- /packages/use-query-params/src/__tests__/withQueryParams.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/__tests__/withQueryParams.test.tsx -------------------------------------------------------------------------------- /packages/use-query-params/src/decodedParamCache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/decodedParamCache.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/index.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/inheritedParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/inheritedParams.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/latestValues.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/latestValues.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/memoSearchStringToObject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/memoSearchStringToObject.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/options.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/removeDefaults.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/removeDefaults.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/shallowEqual.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/shallowEqual.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/types.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/updateSearchString.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/updateSearchString.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/urlName.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/urlName.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/useQueryParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/useQueryParam.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/useQueryParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/useQueryParams.ts -------------------------------------------------------------------------------- /packages/use-query-params/src/withQueryParams.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/src/withQueryParams.tsx -------------------------------------------------------------------------------- /packages/use-query-params/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/tsconfig.build.json -------------------------------------------------------------------------------- /packages/use-query-params/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/tsconfig.json -------------------------------------------------------------------------------- /packages/use-query-params/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/packages/use-query-params/vitest.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pbeshai/use-query-params/HEAD/vitest.config.ts --------------------------------------------------------------------------------