Error when upgrading from 0.10.8
to 0.10.9
#564
-
Hi 👋
It points to this piece of code : //...
const useDataLoader = () => {
const currentContext2 = getCurrentContext();
const [parentEntry, _router, _route] = currentContext2;
const router = _router || useRouter();
const route = _route || useRoute();
const entries = router[LOADER_ENTRIES_KEY];
let entry = entries.get(loader);
// ^
// Problems start here
// ...
}
// ... I have made a reproduction repository. |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Jan 7, 2025
Replies: 1 comment 3 replies
-
Your repro doesn't work, so I can't check. It seems to be missing a vite config. Make sure to remove everything not needed (Apollo, GraphQL, vitest, etc) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to adapt your import:
I make sure this is updated in docs