UNPKG
@tanstack/vue-router
Version:
latest (1.170.11)
1.170.11
1.170.10
1.170.9
1.170.8
1.170.7
1.170.6
1.170.5
1.170.4
1.170.3
1.170.2
1.170.1
1.170.0
1.169.2
1.169.1
1.169.0
1.168.22
1.168.21
1.168.20
1.168.19
1.168.18
1.168.17
1.168.16
1.168.15
1.168.14
1.168.13
1.168.12
1.168.11
1.168.10
1.168.9
1.168.8
1.168.7
1.168.6
1.168.5
1.168.4
1.168.3
1.168.2
1.168.1
1.168.0
1.167.5
1.167.4
1.167.3
1.167.2
1.167.1
1.167.0
1.166.7
1.166.6
1.166.5
1.166.4
1.166.2
1.163.3
1.163.2
1.162.9
1.162.8
1.162.6
1.162.5
1.162.4
1.162.2
1.162.1
1.161.4
1.161.3
1.161.1
1.160.0
1.159.10
1.159.9
1.159.6
1.159.5
1.159.4
1.159.3
1.158.4
1.158.1
1.158.0
1.157.18
1.157.17
1.157.16
1.157.15
1.157.14
1.157.13
1.157.12
1.157.11
1.157.10
1.157.9
1.157.8
1.157.7
1.157.6
1.157.5
1.157.4
1.157.3
1.157.1
1.157.0
1.156.0
1.155.0
1.154.14
1.154.13
1.154.12
1.154.8
1.154.7
1.154.4
1.154.3
1.154.2
1.154.1
1.153.2
1.153.1
1.151.6
1.151.3
1.151.2
1.151.1
1.151.0
1.150.0
1.149.3
1.147.3
1.147.1
1.147.0
1.146.2
1.146.1
1.146.0
1.145.11
1.145.7
1.145.6
1.144.0
1.143.6
1.143.4
1.143.3
1.142.13
1.142.11
1.142.8
1.142.7
1.142.6
1.141.8
1.141.7
1.141.6
1.141.4
1.141.2
1.141.1
1.141.0
1.140.5
1.140.1
1.140.0
0.0.1
Modern and scalable routing for Vue applications
tanstack.com/router
TanStack/router
@tanstack/vue-router
/
dist
/
source
/
useLoaderDeps.jsx
11 lines
•
307 B
JSX
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{ useMatch }
from
'./useMatch'
;
export
function
useLoaderDeps
(
opts
) {
const
{ select, ...rest } = opts;
return
useMatch
({ ...rest,
select
:
(
s
) =>
{
return
select ?
select
(s.
loaderDeps
) : s.
loaderDeps
; }, }); }
//# sourceMappingURL=useLoaderDeps.jsx.map