Getting 'Type instantiation is excessively deep and possibly infinite.' TS error using matchRoute
I am using matchRoute to see if the user is on /account
which is resulting in this TS error:
This is reproducable in the live examples as well if we try to use
matchRoute
2 Replies
sunny-green•2y ago
i fixed this in https://github.com/TanStack/router/releases/tag/v1.15.5
GitHub
Release v1.15.5 · TanStack/router
Version 1.15.5 - 1/30/2024, 6:49 PM
Changes
Fix
avoid Type instantiation is excessively deep and possibly infinite error in useMatchRoute (0982c57) by Manuel Schiller
Packages
@tanstack/react-ro...
fascinating-indigoOP•2y ago
You guys are so fast 😄 thanks man, appreciate it!