Skip to content
Discussion options

You must be logged in to vote

Hi TkDodo, thank you for your response.

The lib is 'managed by hand, and manually linked' with file symbolic links inside node_modules.
In 'final' components like in the index.ts, the import path resolves exactly to the file given above (the one that starts with "Object.defineProperty(...)").

The final app, based on React Create App, uses webpack internally.

After a second thought, it may be that the

var _reactQuery = require("@tanstack/react-query");

resolves to a different file (esm vs non-esm) than the

import {QueryClient, QueryClientProvider} from "@tanstack/react-query";

even if there is only one library version.

Anway, I have decided to go to the solution to move all the hooks to …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by noe555
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants