Skip to content

Conversation

@songkeys
Copy link
Contributor

Just noticed that someone also made a PR #3883 . But we should export the noop version.

@vercel
Copy link

vercel bot commented Jul 20, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
query ❌ Failed (Inspect) Jul 20, 2022 at 4:54PM (UTC)

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 9bd505f:

Sandbox Source
@tanstack/query-example-react-basic Configuration
@tanstack/query-example-react-basic-typescript Configuration

@TkDodo
Copy link
Collaborator

TkDodo commented Jul 20, 2022

Do we need your PR, the other PR, or both?

@TkDodo
Copy link
Collaborator

TkDodo commented Jul 20, 2022

Your PR actually looks more complete, thank you 🙏

@songkeys
Copy link
Contributor Author

Yes. The other PR pointed out the issue but doesn't export for noop actually. This PR should fix them all.

@TkDodo
Copy link
Collaborator

TkDodo commented Jul 20, 2022

Thank you very much 🙇‍♂️

@TkDodo
Copy link
Collaborator

TkDodo commented Jul 21, 2022

@songkeys could it be that we point to the wrong direction for the default require exports. It points towards:

"require": "./build/cjs/packages/react-query-devtools/src/noop.js",

but looking at the build directory when I create a build locally, noop.js is in :

build/cjs/noop.js

so it's not inside the src directory...

@songkeys
Copy link
Contributor Author

@TkDodo Oops. I'm sorry about this. You are right. Is it a fix yet? Or do you want me to submit another PR?

@TkDodo
Copy link
Collaborator

TkDodo commented Jul 21, 2022

another PR would be great, thanks

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

Successfully merging this pull request may close these issues.

2 participants