@tanstack/react-router
Advanced tools
Comparing version 1.70.1 to 1.70.2
@@ -40,2 +40,11 @@ "use client"; | ||
} = options; | ||
const { | ||
// prevent these from being returned | ||
params: _params, | ||
search: _search, | ||
hash: _hash, | ||
state: _state, | ||
mask: _mask, | ||
...propsSafeToSpread | ||
} = rest; | ||
const type = React.useMemo(() => { | ||
@@ -124,3 +133,3 @@ try { | ||
return { | ||
...rest, | ||
...propsSafeToSpread, | ||
ref: innerRef, | ||
@@ -210,3 +219,3 @@ type, | ||
return { | ||
...rest, | ||
...propsSafeToSpread, | ||
...resolvedActiveProps, | ||
@@ -241,3 +250,3 @@ ...resolvedInactiveProps, | ||
const { _asChild, ...rest } = props; | ||
const { type, ref: innerRef, ...linkProps } = useLinkProps(rest, ref); | ||
const { type: _type, ref: innerRef, ...linkProps } = useLinkProps(rest, ref); | ||
const children = typeof rest.children === "function" ? rest.children({ | ||
@@ -244,0 +253,0 @@ isActive: linkProps["data-status"] === "active" |
{ | ||
"name": "@tanstack/react-router", | ||
"version": "1.70.1", | ||
"version": "1.70.2", | ||
"description": "Modern and scalable routing for React applications", | ||
@@ -5,0 +5,0 @@ "author": "Tanner Linsley", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1557313
19611