T
TanStack2y ago
jolly-crimson

import { useLocation } from '@tanstack/react-router'

i get Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/@tanstack_react-router.js?v=4d2868af' does not provide an export named 'useLocation while it's defined in the documentation
2 Replies
distinguished-silver
distinguished-silver2y ago
make sure you're on the latest version. useLocation is pretty new
jolly-crimson
jolly-crimsonOP2y ago
Thanks a lot

Did you find this page helpful?