Get fullPath and params from interpolated pathname - TanStack