You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usePaths it's the same of useParams in react-router ou tankstack-router. This hook will return the dynamic paths at your URL, like the pattern <InlineCode>/users/:id</InlineCode>.
19
+
</p>
20
+
<Codecode={code}/>
21
+
<Callouttype="info"title="Tips and tricks">
22
+
Brouther adopt <InlineCode>usePaths</InlineCode> instead <InlineCode>useParams</InlineCode> to avoid confusion with{" "}
23
+
<InlineCode>URLSearchParams</InlineCode>, that is a query string (part of URL after the ?).
0 commit comments