Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RtkQueryMonitor #1619

Open
NarekChang opened this issue Feb 27, 2024 · 2 comments
Open

RtkQueryMonitor #1619

NarekChang opened this issue Feb 27, 2024 · 2 comments

Comments

@NarekChang
Copy link

NarekChang commented Feb 27, 2024

When import RtkQueryMonitor component I get an error:

ERROR in ./node_modules/@redux-devtools/rtk-query-monitor/lib/esm/components/QueryPreviewInfo.js 2:0-58
Module not found: Error: Package path ./dist/query is not exported from package /../my-app/node_modules/@reduxjs/toolkit (see exports field in /../my-app/node_modules/@reduxjs/toolkit/package.json)

I thing dependencies are not current

@markerikson
Copy link

Where and why are you trying to import RtkQueryMonitor? That's a component of the DevTools Extension UI, and not normally something you'd need to reference yourself.

@NarekChang
Copy link
Author

@markerikson I'm developing a tool for my task.

My implementation looks like this:
// DevTools.js const DevTools = createDevTools( <DockMonitor {...props}> <RtkQueryMonitor /> </DockMonitor>

// store.js const enhancer = compose( applyMiddleware(m1, m2, m3), DevTools.instrument(), );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants