File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 3
3
// Other module resolutions strategies will look for the `exports` in `package.json`,
4
4
// but with `node`, TypeScript will look for a .d.ts file with that name at the
5
5
// root of the package.
6
- // This default react-router adapter is for react-router v6. If you are using
7
- // react-router v7, please use adapters/react-router/v7
6
+ //
7
+ // Note: this default react-router adapter is for react-router v6.
8
+ // If you are using react-router v7, please import from `nuqs/adapters/react-router/v7`
8
9
9
10
export * from '../dist/adapters/react-router'
Original file line number Diff line number Diff line change
1
+ // Note: this default react-router adapter is for react-router v6.
2
+ // If you are using react-router v7, please import from `nuqs/adapters/react-router/v7`
3
+
1
4
import { useNavigate , useSearchParams } from 'react-router-dom'
2
5
import { renderQueryString } from '../url-encoding'
3
6
import type { AdapterOptions } from './defs'
You can’t perform that action at this time.
0 commit comments