Cannot find module 'react-query/types/core/utils' #3257
Unanswered
vera-barysava
asked this question in
Q&A
Replies: 1 comment 3 replies
-
please don't import from "internals" because we often shift them around. As with any library, it is best to stick to the publicly exported interface, so:
if that doesn't exist, we don't export it. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
There is a problem with importing Updater from react-query/types/core/utils.'
import { Updater } from 'react-query/types/core/utils';
During project building, the error Cannot find module 'react-query/types/core/utils appears.
This started after updating the version of react-query from 3.18.1 to 3.34.12.
The current version of TypeScript is 3.8.3.
Are there some major updates with importing that were released after react-query 3.18.1?
Beta Was this translation helpful? Give feedback.
All reactions